Originally Posted By: Ryukoto
Code:
on *:text:!off:#:{
  set %commandoff
}

on *:text:!on:#:{
  unset %commandoff
}

on *:text:!command:#:{
  if (%commandoff) { HALT }
  /*bla bla bla (msg $chan ...)*/
}


Thats it, simple on/off switcher.


Thank you!

I'll try this when I get a chance.