All pastes #732257 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-10 20:17 UTC
rendered paste body
on $*:TEXT:/^[!@]start ?/Si:#:{
  if ($nick isop $chan || $nick ishop $chan) {
    /msg $chan 12The game has started! To register: 4!reg10. Game starts in 2 minutes!
    /timer 1 60 /msg $chan 4Attention! 12There is only 1 minute left! To register: 4!reg12!
    /timer 1 120 /msg $chan 12Registration is almost over, those who haven't registered yet, this is your last chance!
    /timer 1 150 /mode $chan +m
  } //timer 1 150 /msg $chan 12Regestration has ended and now the roles will be given out
}

on $*:TEXT:/^!reg ?/Si:#:{ 
  /mode $chan +v-oh $nick $nick $nick
}

on $*:TEXT:/^!halt ?/Si:#:{ 
  if ($nick isop $chan || $nick ishop $chan) {
    /timers off
    /msg $chan 4the bot has been halted by operator $nick
    /mode $chan -m
  }
}
}


on $*:TEXT:/^!unreg ?/Si:#:{ 
/mode $chan -v+oh $nick $nick $nick
}