A timer does all that by itself. The while is unnecessary.
Doing
ON *:TEXT:!timer*:#: {
if ($2 == on) { timerMessage 0 600 msg $chan This is a Message! }
if ($2 == off) { timerMessage off }
}
Would do the trick, no?
Nvm, loki did it lol.
Last edited by lindenkron; 27/11/13 05:22 AM.