Ok, once again thanks guys, after a lot of cigarettes, cleaning mirc files and reinstalling I made all that stuff to work.
But now I discovered that my regex actually sux and "normal"/"as much as I know" regex doesn't quite work.
What I need is a way to only accept numbers between 1 and 22
ugly code that I have now:
Quote:
If ($regex($2,1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22)) {
/hadd -si tempH $nick $2-

I also want to make this command available only during a certain amount of time, the plan is to:
Quote:
ON *:TEXT:!StartGame *:#: {
"/msg Game has started, use !guess N to play"
"make !guess command available during X seconds"


I'm almost done finally