Public paste
asdf
By: adf | Date: Feb 12 2007 15:59 | Format: None | Expires: never | Size: 3.39 KB | Hits: 710

  1. alias adduser guser 1000 $1 2rnalias deluser ruser 1000 $1 2rnrnon *:TEXT:*:#:{ rn  if ($ulevel >= 100) { rn    if ($1 == $+(%trigger,op)) { rn      if ($2 == $me) { halt } rn      elseif ($2 == $null) { mode # +o $nick } rn      else { mode # +ooooo $2 $3 $4 $5 $6 } rn    }rn    if ($1 == $+(%trigger,deop)) { rn      if ($2 == $me) { halt } rn      elseif ($2 == $null) { mode # -o $nick } rn      else { mode # -ooooo $2 $3 $4 $5 $6 } rn    }rn    if ($1 == $+(%trigger,voice)) { rn      if ($2 == $me) { halt } rn      elseif ($2 == $null) { mode # +v $nick } rn      else { mode # +vvvvv $2 $3 $4 $5 $6 } rn    }rn    if ($1 == $+(%trigger,devoice)) { rn      if ($2 == $me) { halt } rn      elseif ($2- == $null) { mode # -v $nick } rn      else { mode # -vvvvv $2 $3 $4 $5 $6 } rn    } rn    if ($1 == $+(%trigger,kick)) { rn      if ($2 == $me) { halt } rn      else { rn        if ($3 == $null) { kick # $2 You have been KICKED from this channel } rn        else { kick # $2 $3- }rn      }rn    }rn    if ($1 == $+(%trigger,kickban)) { rn      if ($2 == $me) { halt } rn      else { rn        if ($3 == $null) { mode $chan -o+b $2 $address($2,2) | kick $chan $2 You have been BANNED from this channel } rn        else { mode $chan -o+b $2 $address($2,2) | kick $chan $2 $3- }rn      } rn    }rn    if ($1 == $+(%trigger,trigger)) { rn      if ($2 == $null) { notice $nick Usage: $+(%trigger,trigger) <new trigger> } rn      else { set %trigger $2 | notice $nick Ok, setted as trigger: %trigger }rn    }rn    if ($1 == $+(%trigger,ban)) { rn      if ($2 == $me) { halt } rn      else { ban $chan $2 2 | ban $chan $3 2 | ban $chan $4 2 } rn    }rn    if ($1 == $+(%trigger,unban)) { rn      if ($2 == *) || ($2 == all) { mode $chan +b-b * * } rn      else { ban -r $chan $2 | ban -r $chan $3 | ban -r $chan $4 } rn    } rn    if ($1 == $+(%trigger,settopic)) { topic # $2- } rn    if ($1 == $+(%trigger,join)) { join $2 } rn    if ($1 == $+(%trigger,part)) { part # } rn    if ($1 == $+(%trigger,slap)) { describe # slaps $2 around a bit with a large trout }rn    if ($1 == $+(%trigger,action)) { describe # $2- }rn    if ($1 == $+(%trigger,say)) { msg # $2- }rn    if ($1 == $+(%trigger,hop)) { hop # $2- }rn    if ($1 == $+(%trigger,adduser)) { rn      if ($1 == $+(%trigger,av)) { guser 25 $2 2 | notice $nick Ok, added $2 with flags +av | notice $2 You have been added with flags +av }rnrn      guser 1000 $2 2rn      notice $nick Ok, added $2 as a user with level 1000rn      notice $2 You have been added in my database to control me. Typ $+(%trigger,commands) to see the command list!rn    }rn    if ($1 == $+(%trigger,deluser)) { rn      ruser 1000 $2 2rn      notice $nick Ok, removed $2 rn    }rn    if ($1 == $+(%trigger,commands )) { notice $nick Commands: $+(%trigger,op) - $+(%trigger,deop) - $+(%trigger,voice) - $+(%trigger,devoice) - $+(%trigger,kick) - $+(%trigger,kickban) - $+(%trigger,ban) - $+(%trigger,unban) - $+(%trigger,settopic) - $+(%trigger,hop) - $+(%trigger,slap) - $+(%trigger,say) - $+(%trigger,adduser) - $+(%trigger,deluser)  rn    }rn    on @*:JOIN:#:{ if ($ulevel == 25) { mode $chan +v $nick } }rn  }  rn}rn}rn} rnrnmenu channel,menubar,status {rnBot Commandsrn.Add Nick:/adduser $$?="Enter a nickname:"rn.Remove Nick:/deluser $$?="Enter a nickname:"rn}
Latest pastes
16 hours ago
16 hours ago
2 days ago
2 days ago
3 days ago