All pastes #837241 Raw Edit

Untitled

public text v1 · immutable
#837241 ·published 2007-12-29 13:42 UTC
rendered paste body
on *:JOIN:#Tucan:{
  if ($me == Tucan) {
    notice $nick 4[ 10Welcome to 4#Tucan 10the home of the SwiftIRC Bot 4Tucan. 10To invite me into your channel, Simply type 4/invite #CHANNEL Tucan 10! Have fun using the bot! 4] 
  }
}

On *:TEXT:!part*:#:{ if ($nick isop $chan || $nick ishop $chan) { part $chan 10I have been commanded to part by04 $nick $+10. } | else { notice $nick 10You have to be (04@10)Op or (07%10)Halfop to use this command. } }

on *:INVITE:#:notice $ialchan(*Tucan!*@*,#Tucan,$r(1,$ialchan(*Tucan!*@*,#Tucan,0))).nick bjoin # $nick
on *:NOTICE:bjoin *:?:{ 
  if (*Tucan iswm $nick) { 
    join $2 
    .timer 1 1 msg $2 10Hi, I am04 $me $+ 10. I have been invited by04 $3 $+ 10. Type !commands to see my commands.
  } 
}
on me:*:join:#:{
  .timer 1 2 /uc $chan
}
alias uc { if ($nick($1,0) <= 4) { part $1 10You do not have enough users for me to stay in this channel. } }