Public feed #723199

Stuff

public text v1 · immutable
Raw Edit
·published 2007-10-02 16:24 UTC
rendered paste body
on *:TEXT:!game*:#: {
  if ($nick != Koray) { 
    msg $chan Only Koray can use this script.
    return
  }
  if ($$1 == !gameon && %game = 0) {
    set %game 1
    msg $chan The game is now turned 03ON.
  }
  else if ($$1 == !gameoff && %game = 1) {
    set %game 0
    msg $chan The game is now turned 04OFF.
  }
  else {
    msg $chan The game is already $+($iif($$1 == !gameon, on, off),!)
  }
}