Request bye users

By legan on Jan 03, 2005

This script wil let jou make a request bot
but only if a channel have more that 30 idlers

a nice LEGAL script

Used by #needmixx channel

on *:TEXT:!request*:#needmixx:{
  if ($left($2,1) == $chr(35)) {
    if ($me !ison $2) {
      /join $2
      /notice $nick Joining $+(',$2,') als alles klopt blijf ik!
      /timer 1 5 req_check $2 $nick
    }
    else { .notice $nick He dude ik ben al in $+(',$2,'.) }
  }
  else { .notice $nick Het moet zijn: !request <#channel> }
}
alias req_check {
  if ($me ison $1) {
    if ($nick($1,0) >= 30) {
      if ($nick($1,0,o) >= 5) {
        if ($2 isop $1) {
          msg #needmixx 5#needmixx :: Ik ben gerequest door $+(',$2,') om $+(',$1,'.) te joinen, alles is goed!
          msg $1 5#needmixx :: Alles klopt, je hebt meer dan 30 man en 5 ops! :: request your own bot #needmixx
        }
        else { /msg $2 FOUT!. $+(',$2,') Wie me heeft gerequested heeft geen op | part $1 Error }
      }
      else { /msg $2 FOUT!. $+(',$1,') Je hebt niet 5 ops in de channel! | part $1 Error }
    }
    else { /msg $2 FOUT!. $+(',$1,') Je hebt niet 30 idlers in de channel! | part $1 Error }
  }
}

Comments

Sign in to comment.
xDaeMoN   -  Jan 03, 2005

Nice Script. Looks familiar. =P

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.