All pastes #731371 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-10 00:35 UTC
rendered paste body
On *:INVITE:#:{
  If ($me == bigbot) {
    Set %invitechan $chan
    If (%invites == $null) { join %invitechan | inc %invites | halt }
    Elseif (%invites == 1) { msg [ba]bigbot join %invitechan | inc %invites | halt }
    Elseif (%invites == 2) { msg [rs]bigbot join %invitechan | unset %invitechan | unset %invites | halt }
  }
}

On *:TEXT:join *:?:{
  If ($me == [ba]bigbot) {
    Join $2
  elseif ($me == [rs]bigbot) {
    Join $2
  }
}