on invite

Document Sample
on invite Powered By Docstoc
					on *:invite:#: {
  msg $nick 0,1You have chosen to use <Botname> If you wish to use the
bot then you need to agree to the rules of usage
  msg $nick 4Rules: Do not spam <Botname>, Do not P,M <Botname> as it
will not answer (It is a Bot) and do not under any cercumstances Flood
<Botname> causing it to quit due to excess flood
  msg $nick 0,1if you agree type yes if not type no
}
on *:TEXT:*:?: {
  if ($1 == Yes) {
    .timer 1 2 msg $nick thank you now please type join #channel and i
will join
    $+(.timerexpire.,$nick) 1 15 expire $nick
  }
  elseif ($1 == No) {
    msg $nick $nick Replied no
    close -m $nick
  }
  elseif ($1 == join) {
    if ($timer($+(expire.,$nick))) {
      .timer 1 2 msg $nick joining $2 now...
      .timer 1 4 join $2
      close -m $nick
      $+(.timerexpire.,$nick) off
    }
    else expire $nick
  }
}
alias expire {
  msg $1 Sorry you did not reply in time, please try again
  if ($window($1)) close -m $1
}

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:11/1/2012
language:
pages:1