Advertisement
illpastethat

Untitled

Mar 10th, 2011
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.40 KB | None | 0 0
  1. on *:text:*:#rsbot:{
  2.   if ($network == rizon) {
  3.     if ($me isop $chan) {
  4.       if (($1 == !kick) || ($1 == !k) && ($2 != $null) && ($nick !isreg $chan) && ($2 isreg $chan)) {
  5.         /k $2 $iif($3-,$nick $+ : $3-,Requested by $nick)
  6.       }
  7.       elseif (($1 == !ban || $1 == !b) && ($2 != $null) && ($nick !isreg $chan) && ($2 isreg $chan)) {
  8.         /b $2
  9.       }
  10.       elseif (($1 == !unban) || ($1 == !ub) && ($nick !isreg $chan)) {
  11.         /u $2
  12.       }
  13.       elseif (($1 == !kickban || $1 == !kb) && ($2 != $null) && ($nick !isreg $chan) && ($2 != $me) && ($2 isreg $chan)) {
  14.         /kb $2 $iif($3-,$nick $+ : $3-,Requested by $nick)
  15.       }
  16.     }
  17.     else {
  18.       if (($nick !ison #rsbot_help) && (!$istok(%DontInvite,$nick,44)) && ($nick isreg $chan)) {
  19.         set %i 1
  20.         while (%i <= $numtok($1-,32)) {
  21.           if ($istok($rsbothelp,$($+($,%i),2),44)) {
  22.             if ($($+(%,botflood.,$nick),2)) {
  23.               if ($($+(%,botflood.,$nick),2) >= 30) { ignore -u60 $address($nick,0) | msg $chan $+($nick,$chr(44)) You Have Been Put On Ignore For 60secs For Abusing The Bot. | halt }
  24.               elseif ($($+(%,botflood.,$nick),2) >= 20) { msg $chan $+($nick,$chr(44)) Please Do Not Abuse The Bot. | inc -z $+(%,botflood.,$nick) 20 | halt }
  25.               else { inc -z $+(%,botflood.,$nick) 10 }
  26.             }
  27.             else { inc -z $+(%,botflood.,$nick) 10 }
  28.             add $nick
  29.             msg #rsbot_help 12[4AUTO12]10 Invite Sent to4 $nick $+ :10 $qt($replace($1-,$($+($,%i),2),4 $+ $($+($,%i),2) $+ 10))
  30.           }
  31.           elseif ($istok($rsbothelp,$($+($($,0),%i,-,$calc(%i + 1)),2),44)) {
  32.             if ($($+(%,botflood.,$nick),2)) {
  33.               if ($($+(%,botflood.,$nick),2) >= 30) { ignore -u60 $address($nick,0) | msg $chan $+($nick,$chr(44)) You Have Been Put On Ignore For 60secs For Abusing The Bot. | halt }
  34.               elseif ($($+(%,botflood.,$nick),2) >= 20) { msg $chan $+($nick,$chr(44)) Please Do Not Abuse The Bot. | inc -z $+(%,botflood.,$nick) 20 | halt }
  35.               else { inc -z $+(%,botflood.,$nick) 10 }
  36.             }
  37.             else { inc -z $+(%,botflood.,$nick) 10 }
  38.             add $nick
  39.             msg #rsbot_help 12[4AUTO12]10 Invite Sent to4 $nick $+ :10 $qt($replace($1-,$($+($($,0),%i,-,$calc(%i + 1)),2),4 $+ $($+($($,0),%i,-,$calc(%i + 1)),2) $+ 10))
  40.           }
  41.           inc %i
  42.         }
  43.       }
  44.     }
  45.   }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement