Thank you fiberoptics! I understand it now and got it to work. I do have one more question tho. After look at the help file I wanted to use a variable for the timer. I used
on *:text:!msgtime*:*: {
set %msgtime $2
}
then this for the timer
on *:text:!msg on:*: {
$+(timer,helpmsg) 0 $var(%msgtime) msghelp
msg $chan Msg on
}
Ok i figured this out but it set the delay to 1 sec. Not sure what I did.