Looking very nice
,
and actually, very very VERY familiar...
...I see you have copied much of the user-interface principles used in
my Holiday Counter Plugin (which I said I would make a Live version out of it, so blah at those "I was first, you copied my idea" and "you shouldn't be making something if someone already said he would make it" posts before in those other threads)...
So please consider also this (or I am forced to steal your code and can claim it my own since you copied much of the principles, and implement these things myself and release it again
):
1) When you use tags in your countdown script as placeholders, use "n" as the shortcut for minutes, not "m". This may seem unlogic at first, but it is actually more consistant with many other tools and you wont have problems when you add a month abbrivation.
2) Make sure people can still use the text "%d" for example (for whatever reason). In other words, make sure people can escape a text if they want it literally. Thus "\%d" will not be parsed.
3) Selecting a countup/countdown in the combo box is rather useless since you must set the time anyways... Depending on the time being in the past or future it is already defined as a countdown or countup, so no need for the user to specifically select it in the combo box also.
4) The label "method" is confussing. Better use "countdown tag" or "tag" or whatever.
5) In reference to 4, make it possible that a user can use also use the countdown tag as a normal Plus! tag in text in a conversation (thus: (!COUNTDOWN) ) and thus that it will be replaced with that countdown string.
6) be consistent with your tags. If you define a tag to be %countdown%, it makes more sense to also define the time tags as %d%, %h%, etc... (thus also with a end % sign), or vice versa... not mixed.
7) in reference to 5 and 6: whatever tag format you choose (I would have choosen "(!xxxx)" since that is also the standard way for plus tags, not "%xxx%"), it should be the same one as used in the 'text' texbox and as tag used in conversation texts.
Suggestions (which you didn't yet copied from the Holiday Counter Plugin):
- Make it possible that people can choose for both changing their nick and PSM.
- Make it possible that people can choose an icon for the PSM.
- Make it possible that a countdown automatically changes to a countup or vice versa when the time has passed.
- Make it possible that people can save multiple countdown settings.