All pastes #674036 Raw Edit

Zalastra

public text v1 · immutable
#674036 ·published 2007-08-28 21:39 UTC
rendered paste body
on *:JOIN:*:{
  if ($chan == #sourcepug $+ %pugza. $+ [ $nick ]) {    
    /topic #sourcepug $+ %pugza. $+ [ $nick ] 1SourcePug: %ppleft more people needed to join the channel for the pug to start.
    if (%number == 5) {
      /mode $chan +i
      /msg $chan [SOURCEPUG] Now find a scrim, when you are done type .ready and I will message the channel with the vent information.
    } 
    else {
      inc %number
      dec %ppleft
      msg $chan Hello $nick $+ , You are the %number person to join this channel. Once the 5th person joins this channel the channel will lock and the bot will find the scrim.
      /topic $chan 1SourcePug: %ppleft more people needed to join the channel for the pug to start.
    }
  }  
}