on invite

Shared by: ibrahimbadawy0
Categories
Tags
-
Stats
views:
1
posted:
10/31/2012
language:
pages:
1
Document Sample
scope of work template
							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
}

						
Related docs
Other docs by ibrahimbadawy0
Ignore list
Views: 0  |  Downloads: 0
Unband-listfull
Views: 0  |  Downloads: 0
color wirght nick
Views: 0  |  Downloads: 0
Anti-flood script v1.0
Views: 0  |  Downloads: 0
scan ip
Views: 0  |  Downloads: 0
cloness
Views: 0  |  Downloads: 0
quit - query msg
Views: 0  |  Downloads: 0
star echo
Views: 0  |  Downloads: 0
Text Flood Protection Dialog
Views: 1  |  Downloads: 0
pro011
Views: 0  |  Downloads: 0