quote:
Originally posted by Matty
Ya but remember those images I posted, regardless the language panel was completly ripped off. If he used any of our code he better credit us and -dt-.
Correct, I used parts of SS4, and the language panel is almost identical. You are credited in the script itself, is that good enough?
quote:
Originally posted by CookieResized
A solution to all this is doing as if you can't use regular expressions:
find the first occurance of any tag, replace it if it doesn't begin with "\" and move on from that point forward in the string to find the next occurance of any tag.
In that way you don't have problems when the tag "%dw" actually contains the text "%hw" and you do:
cStr = cStr.replace(/%dw/g, DayWord);
cStr = cStr.replace(/%hw/g, HourWord);
I know it is a bit far fetched (that people will use %hw inside the word text), but this is stuff to consider if you want to make a total fool proof plugin.
Hmm... well, I think that's the best I can do to make it work...
* Matti gets to work... stay tuned!