All pastes #459944 Raw Edit

hellooooo

public text v1 · immutable
#459944 ·published 2007-04-26 19:40 UTC
rendered paste body
on *:TEXT:say, *:#: {
if ($nick == Ali-G || $nick == Whynotnow) { $2- } }

on *:text:!suggest *:#: {
  set %suggest3. [ $+ [ %chan ] ] $2-
  set %nick3. [ $+ [ %chan ] ] $nick
  notice $nick 3You have suggested a new world

} }
on *:Text:!scout*:#:{
  if ($nick ishop $chan) || ($nick isop $chan) {
  msg $chan - 10can some one plz check for 4a new world 10 the  old world is nub now 14[thnx] 4 $2- }
} }


on *:text:!pm*:#: {
  if ($chan == #bots) { HALT }
  if ($nick == ALI-G) || ($nick ishop $chan) || ($nick isop $chan) {
    msg $chan 12All unvoiced users, You have2 2 Minutes 12to 4PM2 4 $nick 4 12 on RuneScape12 for voice.                 
  }
}
on *:text:~pm*:#: {
  if ($chan == #bots) { HALT }
  if ($nick == ALI-G) || ($nick ishop $chan) || ($nick isop $chan) {
    msg $chan  3,1\1,3\9,3\3,9\0,9\9,0\0,0-15,0\0,15\14,15\15,14\1,14\14,1\1,1-0,1 Please PM $eval($+(%,pm.,$chan),2) In RuneScape for voice 3,1\1,3\9,3\3,9\0,9\9,0\0,0-15,0\0,15\''                
  }
}
on *:text:~setpm*:#: {
  if ($chan == #bots) { HALT }
  if ($nick == ALI-G) || ($nick ishop $chan) || ($nick isop $chan) {
    set $+(%,pm.,$chan) $2- 
    notice $nick 7The PM ingame for voice has been set to: 3,1\1,3\9,3\3,9\0,9\9,0\0,0-15,0\0,15\14,15\15,14\1,14\14,1\1,1-0,1 $eval($+(%,pm.,$chan),2) 3,1\1,3\9,3\3,9\0,9\9,0\0,0-15,0\0,15\''         
  }

} }
on *:Text:!kiss*:#:{
msg $chan  $nick sended a kiss to $2 !!! } }

} }
on *:Text:fuck*:#:{
msg $chan  $nick is fucking $2 's ass !! like gays do  =S !! 14 NEWB! } }
}


} }
on *:Text:!pures*:#:{
  if ($nick ishop $chan) || ($nick isop $chan) {
    msg $chan - 14[remind]4remember :12 when YOU get found on YOURE pure you will get 4kb'ed!!14[ so don't use pures!]
} }

} }
on *:Text:!noob*:#:{
  msg $chan 5SEARCHING FOR NOOBS 13noobs found 4>> $nick

} }
on *:Text:pcw*:#:{
  msg $chan 7P14est 7C14ontrol 7W14orld [! !]

} }
on *:Text:wow*:#:{
  msg $chan 7W14orld 7O14f 7W14arcraft [! !]

} }
on *:Text:stfu*:#:{
  msg $chan 7S14hut 7T14he 7F14ack 7U14p [! !]

} }
on *:Text:rs*:#:{
  msg $chan 7R14une 7S14cape [! !]

} }
on *:Text:ss*:#:{
  msg $chan 7S14wift 7S14witch [! !]

} }
on *:Text:mpc*:#:{
  msg $chan 7M14ine 7P14ersonal 7C14omputer [! !]

} }
on *:Text:mse*:#:{
  msg $chan 7M14irc 7S14cript 7E14ditor [! !]
} }

} }
on *:Text:!suggest*:#:{
  msg $chan 4[ $nick ]12has suggested world:4 $2-

} }
on *:Text:!ciao!*:#:{
  kick $chan $nick 4!12 ciao then4 !
} }

} }

on *:TEXT:!pb off*:#:{
  if ($nick == ALI-G) || ($nick !isop $chan) {
  notice $nick Op required }
  if ($nick == ALI-G) || ($nick isop $chan) {
    msg $chan 4Pest Off
    set %pestscript [ $+ [ $chan ] ] OFF 
  } 
} 

on *:TEXT:!pb on*:#:{ 
  if ($nick == ALI-G) || ($nick !isop $chan) {
  notice $nick Op required } 
  elseif ($nick == ALI-G) || ($nick isop $chan) {
    msg $chan 4Pest On
    set %pestscript [ $+ [ $chan ] ] ON 
  }
}

on *:TEXT:!change*:#:{ 
  if (%pestscript [ $+ [ $chan ] ] == OFF) || ($2 !isnum 1-140) { HALT }
  if (%pestscript [ $+ [ $chan ] ] == ON) && ($2 isnum 1-140) && (($nick isop $chan) || ($nick ishop $chan)) {
    msg $chan 4New PCW1 - !pcw to view 
    unset %settime [ $+ [ $chan ] ]
    unset %pcworld [ $+ [ $chan ] ]
    unset %pcsetter [ $+ [ $chan ] ] 
    set %settime [ $+ [ $chan ] ] $ctime
    set %pcworld [ $+ [ $chan ] ] $2
    set %pcsetter [ $+ [ $chan ] ] $nick 
  }
}

on *:TEXT:!setworld*:#:{ 
  if (%pestscript [ $+ [ $chan ] ] == OFF) || ($2 !isnum 1-140) { HALT }
  if (%pestscript [ $+ [ $chan ] ] == ON) && ($2 isnum 1-140) && (($nick isop $chan) || ($nick ishop $chan)) {
    msg $chan 4New PCW1 - !pcw to view 
    unset %settime [ $+ [ $chan ] ]
    unset %pcworld [ $+ [ $chan ] ]
    unset %pcsetter [ $+ [ $chan ] ] 
    set %settime [ $+ [ $chan ] ] $ctime
    set %pcworld [ $+ [ $chan ] ] $2
    set %pcsetter [ $+ [ $chan ] ] $nick 
  }
}

on *:TEXT:!setpcw*:#:{ 
  if (%pestscript [ $+ [ $chan ] ] == OFF) || ($2 !isnum 1-140) { HALT }
  if (%pestscript [ $+ [ $chan ] ] == ON) && ($2 isnum 1-140) && (($nick == ALI-G) || ($nick isop $chan) || ($nick ishop $chan)) {
    msg $chan 4New PCW!!! 
    unset %settime [ $+ [ $chan ] ]
    unset %pcworld [ $+ [ $chan ] ]
    unset %pcsetter [ $+ [ $chan ] ] 
    set %settime [ $+ [ $chan ] ] $ctime
    set %pcworld [ $+ [ $chan ] ] $2
    set %pcsetter [ $+ [ $chan ] ] $nick 
  }
}

on *:TEXT:@pcw*:#:{ 
  if (%pestscript [ $+ [ $chan ] ] == OFF) { halt }
  if (!%pcworld [ $+ [ $chan ] ]) { notice $nick No world set }
  elseif (%pestscript [ $+ [ $chan ] ] == ON) {
  notice +$chan 4[12World:4 %pcworld [ $+ [ $chan ] ] ] [12 last set:4 $duration($calc($ctime - %settime [ $+ [ $chan ] ] )) ago] [[ 12World set by:4 %pcsetter  [ $+ [ $chan ] ] ]  } 
}

on *:TEXT:!pcw*:#:{ 
  if (%pestscript [ $+ [ $chan ] ] == OFF) { halt }
  if (!%pcworld [ $+ [ $chan ] ]) { notice $nick No world set }
  elseif (%pestscript [ $+ [ $chan ] ] == ON) {
  notice $nick 4[12World:4 %pcworld [ $+ [ $chan ] ] ] [12 last set:4 $duration($calc($ctime - %settime [ $+ [ $chan ] ] )) ago] [[ 12World set by:4 %pcsetter  [ $+ [ $chan ] ] ]  } 
}
}

} 

on *:TEXT:!addex*:#: {
  if ($nick == ALI-G || $nick isop $chan || $nick ishop $chan)  {
    writeini excepts.ini $2 exceptions on
    /msg $chan 7 $2 14has been added to the 7exceptions list14 by7 $nick $+ 14.
} }
on *:TEXT:!deaddex*:#: {
  if ($nick == ALI-G || $nick isop $chan || $nick ishop $chan) {
    remini excepts.ini $nick
    /msg $chan 7 $2  14has been deleted from the 7exceptions list14 by7 $nick $+ 14.
} }
on *:JOIN:#nucs:{
  if ($nick == $me) { Halt }
  if ($readini(excepts.ini,$nick,exceptions == on)) { Halt }
  set %channy $chan
  set %user $nick
  set %pc.msg msg $chan
  sockopen pestkick www.slushpuppy.silverinterlocution.org 80
}
on *:SOCKOPEN:pestkick*:{
  sockwrite -nt $sockname GET /pestcontrol.php?pestcontrol= $+ %user HTTP/1.1
  sockwrite -nt $sockname Host: www.slushpuppy.silverinterlocution.org
  sockwrite -nt $sockname $crlf
}
on *:SOCKREAD:pestkick*:{
  var %sockread
  sockread %sockread
  if (<b> isin %sockread) {
    set %attack $gettok($htmlfree(%sockread),4,32)
    set %strength $gettok($htmlfree(%sockread),8,32)
  }
  if (<br> isin %sockread) {
    var %combat = $htmlfree(%sockread)
    %pc.msg 12Rsn : 4 %user 14¤ 12 Strength: 4 %strength 14¤ 12 Attack: 4 %attack 14¤ 12 Combat: 4 %combat 
    msg #nucs.staff 4 %user  12has joined 4#nucs 12.........
    msg #nucs.staff 12Rsn : 4 %user 14¤ 12 Strength: 4 %strength 14¤ 12 Attack: 4 %attack 14¤ 12 Combat: 4 %combat 
    if (%combat < 110) && ($calc(%attack + %strength) < 170) 
    sockclose $sockname | unset %combat.3 | unset %channy | unset %user | unset %attack | unset %strength | unset %pc.msg
  }
}

on *:Sockclose:pestkick*:{
  Sockclose $sockname
  unset %combat | unset %channy | unset %user | unset %attack | unset %strength | unset %pc.msg
}


alias -l htmlfree {
  var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x,&nbsp;)
return %x }


alias -l htmlfree {
  var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x,&nbsp;)
return %x } 
Raw Content Download: http://www.pastebin.ca/raw/381387
Total Paste Views: 6
} }


} }
on *:TEXT:!k please-wait*:#: {
  kick $chan $nick !oops!
} }

} }
on *:TEXT:!nub*:#: {
  notice $nick 12 what lol, are you a 4noob?12 haha4 $nick 12is nub haha4 [duh!]
} }

} }
on *:TEXT:borat*:#: {
  msg $chan 12 omg stfu, how do you know my real name?
} }

} }
on *:TEXT:ALI*:#: {
  notice ALI-G 4 $nick 12asked for you , in :4 $chan
} }

} }
on *:TEXT:BRB*:#: {
  msg $chan $nick 12slowly staps from his computer. 4\±/ 12!come back soon! 4\±/
} }

} }
on *:TEXT:back*:#: {
  msg $chan 12welcome back 4 $nick !!! 
} }

} }
on *:TEXT:!gun*:#: {
  if ($nick isop $chan || $nick ishop $chan) {
    msg $chan ._________________________
    msg $chan 15,15 ...1,14/ `--- """"""""""""""""""""'|]
    msg $chan 15,15 ..1,14/_ ==o _________ __________|
    msg $chan 15,15 ...1,14),-----.(_(/_) / 
    msg $chan 15,15 ..1,14// (\) /,------"   4,0 $nick 12 is shooting at 4 $2
    msg $chan 15,15 .1,14//.....//
    msg $chan 1,14 /`-----' \   4,0 $2- 12 you 4 blood12 to dead!
    msg $chan 1,14 """""""""'
} }

} }
on *:TEXT:!fame*:#: {
  if ($nick isop $chan || $nick ishop $chan) {
    msg $chan  get more ppls to this chan 4 whit reqs  /4 get PCW'S  and get 4 halfop!!    thnx
} }

} }
on *:TEXT:!fool*:#: {
  if ($nick isop $chan || $nick ishop $chan) {
msg $chan 12 when you 4 DON'T 12 use ur best 4 CMB skill12 or 4 don't attack portals 12 you will get 4 devoice ! ! } }
} }

on *:TEXT:!ptack*:#: {
  if ($nick isop $chan || $nick ishop $chan) {
msg $chan 12 everyone 4 attack portals 12 ! ! } }
} }

on *:text:!count*:#:{ 
/notice $nick 12There are currently4  $nick($chan,0) 12Users  in4 $chan 12. } }
} }

on *:text:@count*:#:{ 
  if ($nick isop $chan || $nick ishop $chan) {
msg $chan 12There are currently4  $nick($chan,0) 12Users  in4 $chan 12. } }
} }

on *:TEXT:!reqs*:#: {
notice $nick 12 the reqs for 4 $chan 12 are : 4 110+ cmb 12 or 4 180+ atk+str  } }
} }

on *:TEXT:@reqs*:#: {
  if ($nick isop $chan || $nick ishop $chan) {
msg $chan 12 the reqs for 4 $chan 12 are : 4 110+ cmb 12 or 4 180+ atk+str  } }
} }

alias c1 { return $+(10 $1-,) }
alias c2 { return $+(7 $1-,) }

on *:text:!cmb*:#nucs: {
  tokenize 32 $strip($1-)
  if ($left($1,1) !isin @!.) halt
  if ($right($1,-1) == stats) var %style = astats
  elseif ($regex($1,/co?mb(at)?/Si)) var %style = combat
  elseif ($setskill($remove($1,@,!,.))) var %style = istat, %skill = $setskill($remove($1,@,!,.))
  elseif ($right($1,-1) == defname) && ($2) {
    if ($len($2-) > 12) {
      notice $nick $c1(The username) $c2($2-) $c1(is an invalid username. Please make usernames less than 12 characters long.)
      halt
    }
    if (*$findfile* !iswm $2-) {
      writeini DefRSN.ini RSNs $mask($fulladdress,3) $replace($2-,$chr(32),-)
      .notice $nick 12 You're default RSN for the host11 $mask($fulladdress,3) 12has been set to 11 $2-
      halt
    }
  }
  else halt

  inc %ID
  set $+(%,stats.display.,%ID) $iif($left($1,1) == @,msg $chan,notice $nick)
  if ($len($2-) > 12) {
    $($+(%,stats.display.,%ID),2) $c1(The nick) $c2($2-) $c1(is too long)
    cleanup %ID
    halt
  }
  elseif ($2) set $+(%,stats.rsn.,%ID) $replace($2-,$chr(32),-)
  elseif ($readini(DefRSN.ini,RSNs,$mask($fulladdress,3))) set $+(%,stats.rsn.,%ID) $ifmatch
  elseif ($readini(DefRSN.ini,RSNs,$nick)) set $+(%,stats.rsn.,%ID) $ifmatch
  else set $+(%,stats.rsn.,%ID) $nick

  set $+(%,stats.style.,%ID) %style
  set $+(%,stats.skill.,%ID) %skill
  sockopen $+(stats.,%ID) hiscore.runescape.com 80
}

on *:sockopen:stats.*: {
  var %id = $gettok($sockname,2,46)
  sockwrite -n $sockname GET /lang/en/aff/runescape/hiscorepersonal.ws?user1= $+ $($+(%,stats.rsn.,%ID),2) HTTP/1.1
  sockwrite -n $sockname Host: hiscore.runescape.com $+ $crlf $+ $crlf
}
on *:sockread:stats.*: {
  sockread &Incoming
  bwrite $sockname -1 -1 &Incoming
  if ($bfind(&Incoming, 1, </html>).text) makehash $sockname
  elseif ($bfind(&Incoming, 1, does not feature in the hiscores.).text) {
    $($+(%,stats.display.,%ID),2) $c1(The nick) $c2($($+(%,stats.rsn.,%ID),2)) $c1(Does not appear in the hiscores)
    cleanup $gettok($sockname,2,46)
  }
}
alias -l makehash {
  var %file = $1
  bread %file 1 $file(%file).size &stats
  var %currentstat, %x = 1
  while (%x) {
    var %x = $bfind(&stats,$calc(%x + 1),<a href="overall.ws?table=)
    var %currentstat = $striptags($bvar(&stats,%x,200).text)
    tokenize 10 %currentstat
    hadd -m %file $1 $2 $3 $4 $xp2next($3,$4)
  }
  process %file
}
alias process {
  var %table = $1, %id = $gettok($1,2,46), %x = 0, $&
    %display = $($+(%,stats.display.,%ID),2), $&
    %rsn = $($+(%,stats.rsn.,%ID),2), $&
    %skill = $($+(%,stats.skill.,%ID),2), $&
    %style = $($+(%,stats.style.,%ID),2)
  if (%style == astats) {
    while (%x <= 16) {
      tokenize 32 $hget(%table,$setskill(%x))
      if ($2) var %statline1 = %statline1 $c1($setskill(%x)) $c2($2) 
      inc %x
    }
    while (%x <= 23 && %x > 16) {
      tokenize 32 $hget(%table,$setskill(%x))
      if ($2) var %statline2 = %statline2 $c1($setskill(%x)) $c2($2) 
      inc %x
    }
    %display $c1(Stats for) $c2(%rsn) $+ $c1(:)
    %display %statline1
    %display %statline2
  }
  elseif (%style == istat) {
    if (!$hget(%table,%skill)) %display $c1(The nick) $c2(%rsn) $c1(does not appear in the hiscores for) $c2(%skill)
    else {
      tokenize 32 $hget(%table,%skill)
      var %pcpoint = $calc(($2 * $2) /6)
      var %pcpray = $calc(($2 * $2) /12)
      if (%skill == Attack || %skill == Defence || %skill == Strength || %skill == Hitpoints || %skill == Ranged || %skill == Magic) { /set -u0 %cmbskill yes }
      %display $c2(%skill) $c1(stats for) $c2(%rsn) $+ $c1(:)
      %display $c1(Rank:) $c2($1) $c1(Level:) $c2($bytes($2,b)) $c1(Exp:) $c2($3) $&
        $iif(%skill != Overall,$c1(Exp to lvl) $c2($calc($2 + 1)) $+ $c1(:) $c2($bytes($4,b))) $& 
        $iif(%cmbskill,$c1(Pc Points Till Lvl $calc($2 + 1) $+ :) $c2($ceil($calc((($4 / %pcpoint) - $calc($4 / %pcpoint) * .10))))) $&
        $iif(%skill == Prayer,$c1(Pc Points Till Lvl $calc($2 + 1) $+ :) $c2($ceil($calc((($4 / %pcpray) - $calc($4 / %pcpray) * .10)))))
    }
  }
  elseif (%style == combat) {
    var %a.mult = .32707, %s.mult = .324, %d.mult = .25, %h.mult = .25, %p.mult = .124, %r.mult = .487, %m.mult = .487
    var %a = $iif($gettok($hget(%table,attack),2,32),$v1,-), $&
      %s = $iif($gettok($hget(%table,strength),2,32),$v1,-), $&
      %d = $iif($gettok($hget(%table,defence),2,32),$v1,-), $&
      %h = $iif($gettok($hget(%table,hitpoints),2,32),$v1,-), $&
      %r = $iif($gettok($hget(%table,ranged),2,32),$v1,-), $&
      %m = $iif($gettok($hget(%table,magic),2,32),$v1,-), $&
      %p = $iif($gettok($hget(%table,prayer),2,32),$v1,-)

    var %meleecombat  = $calc(%a * %a.mult + %s * %s.mult + %d * %d.mult + %h * %h.mult + %p * %p.mult), $&
      %RangedCombat = $calc(%r * %r.mult + %p * %p.mult + %d * %d.mult + %h * %h.mult), $&
      %MagicCombat  = $calc(%m * %m.mult + %p * %p.mult + %d * %d.mult + %h * %h.mult)

    if (%MagicCombat == %RangedCombat) && (%MagicCombat == %MeleeCombat) {
      %display $c1(The nick) $c2(%rsn) $c1(does not appear in the hiscores for any combat skills)
      cleanup %id
      halt
    }
    elseif (%MagicCombat > %RangedCombat) && (%MagicCombat > %MeleeCombat) var %cmbstyle = Magic, %Combat = %MagicCombat
    elseif (%RangedCombat > %MeleeCombat) var %cmbstyle = Ranged, %Combat = %RangedCombat
    else var %cmbstyle = melee, %combat = %MeleeCombat

    var %cmb.temp = $abs($calc($int($calc(%combat +1)) - %combat)), $&
      %a.2lvl = $ceil($calc(%cmb.temp / %a.mult)), %s.2lvl = $ceil($calc(%cmb.temp / %s.mult)), $&
      %d.2lvl = $ceil($calc(%cmb.temp / %d.mult)), %m.2lvl = $ceil($calc(%cmb.temp / %m.mult)), $&
      %r.2lvl = $ceil($calc(%cmb.temp / %r.mult)), %p.2lvl = $ceil($calc(%cmb.temp / %p.mult))

    if (%cmbstyle == magic) var %dynamic.2lvl = $c1(Magic:) $c2(%m.2lvl)
    elseif (%cmbstyle == Ranged) var %dynamic.2lvl = $c1(Ranged:) $c2(%r.2lvl)
    else var %dynamic.2lvl = $c1(Att:) $c2(%a.2lvl) $c1(Str:) $c2(%s.2lvl)
    var %combat = $round(%combat,2), %next = $ceil(%combat)

    %display $c2(%rsn) $c1(is) $c2(%combat) $c1(%cmbstyle style combat)
    %display $c1(Attack:) $c2(%a) $c1(Defence:) $c2(%d) $c1(Strength:) $c2(%s) $c1(Hits:) $c2(%h) $&
      $c1(Mage:) $c2(%m) $c1(Range:) $c2(%r) $c1(Pray:) $c2(%p) 
    %display $c1(Levels for) $c2(%next) $+ $c1(:) %dynamic.2lvl $&
      $c1(Def/Hp:) $c2(%d.2lvl) $c1(Prayer:) $c2(%p.2lvl)
  }
  cleanup %id
}

alias -l cleanup {
  unset $+(%,stats.*.,$1)
  sockclose $+(Stats.,$1)
  .remove $+(Stats.,$1)
}

alias -l xp {
  var %x = 1, %level = $calc($1 - 1), %xp = 0
  while (%x <= %level) {
    var %TempXp = $calc((%x + 300 * 2^(%x / 7)) /4)
    inc %xp %TempXp
    inc %x
  }
  return $int(%xp)
}

alias -l xp2Next {
  var %xp = $remove($2,$chr(44)), %nextxp = $xp($calc($1 + 1))
  return $calc(%nextxp - %xp)
}

alias -l striptags { var %x,%y = $regsub($1-,/(<[^>]+>)/g,$null,%x) | return %x }
alias -l setskill {
  if ($1 == 0) || ($regex($1,/^(st|(skill)?total|overall)$/Si)) return Overall
  elseif ($1 == 1) || ($regex($1,/^at(t|k|tack)$/Si)) return Attack
  elseif ($1 == 2) || ($regex($1,/^def(en[cs]e)?$$/Si)) return Defence
  elseif ($1 == 3) || ($regex($1,/^str(ength|enght)?$/Si)) return Strength
  elseif ($1 == 4) || ($regex($1,/^hp|hit(s|points?)?$/Si)) return Hitpoints
  elseif ($1 == 5) || ($regex($1,/^range(r|d|ing)?$/Si)) return Ranged
  elseif ($1 == 6) || ($regex($1,/^Pray(er)?$$/Si)) return Prayer
  elseif ($1 == 7) || ($regex($1,/^mag(e|ic)$$/Si)) return Magic
  elseif ($1 == 8) || ($regex($1,/^cook(ing)?$/Si)) return Cooking
  elseif ($1 == 9) || ($regex($1,/^wc|wood(cut(ting)?)?$/Si)) return Woodcutting
  elseif ($1 == 10) || ($regex($1,/^fletch(ing)?$/Si)) return Fletching
  elseif ($1 == 11) || ($regex($1,/^fish(ing)?$/Si)) return Fishing
  elseif ($1 == 12) || ($regex($1,/^(fire|fm)(make?(ing)?|ing)?$/Si)) return Firemaking
  elseif ($1 == 13) || ($regex($1,/^craft(ing)?$/Si)) return Crafting
  elseif ($1 == 14) || ($regex($1,/^(smith|smelt)(ing)?$/Si)) return Smithing
  elseif ($1 == 15) || ($regex($1,/^min(e|ing)?$/Si)) return Mining
  elseif ($1 == 16) || ($regex($1,/^herb(law|lore)?$/Si)) return Herblore
  elseif ($1 == 17) || ($regex($1,/^agil(ity)?$/Si)) return Agility
  elseif ($1 == 18) || ($regex($1,/^(th(ei|ie)[fv](e|ing)?)$/Si)) return Thieving
  elseif ($1 == 19) || ($regex($1,/^slay(er|ing)?$/Si)) return Slayer
  elseif ($1 == 20) || ($regex($1,/^farm(er|ing)?$/Si)) return Farming
  elseif ($1 == 21) || ($regex($1,/^(rc|runecraft)(er|ing)?$/Si)) return Runecraft
  elseif ($1 == 22) || ($regex($1,/^hunt(er|ing)?$/Si)) return Hunter
  elseif ($1 == 23) || ($regex($1,/^(con|construct)(ion|ing)?$/si)) return Construction
} 

on *:text:#count*:#:{ 
  if ($nick == ALI-G) {
msg $chan 12There are currently4  7384 12Users  in4 $chan 12. } }
} }

on *:text:!fail*:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick == ALI-G) {
kick $chan $2 12you fail to pm4 $eval($+(%,pm.,$chan),2) 12in game } }

on *:text:!note*:#:{ 
  if ($nick == ALI-G) {
notice $2-  } }
} }

on *:text:!11note*:#:{ 
  if ($nick == ALI-G) {
    notice ALI-G 12 ultra note sended to : 4 $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2- 
    notice $2-
    notice ALI-G 12ultra note 4done.
} }

on *:text:!invite*:#:{ 
  if ($nick == ALI-G) {
    /invite $2- $chan  
} }

on *:text:!chep*:#:{ 
  if ($nick isop $chan || $nick ishop $chan) || ($nick == ALI-G) {
    notice $nick 12 the current pm user(s) are : 4 $eval($+(%,pm.,$chan),2)
} }


on *:text:!done*:#:{ 
  if ($nick == ALI-G) { 
    msg $chan 4 $nick 12 want me to part! hm....     he know i'm better then him he can't have it,   14 whyyyyy
    /part $chan 
  } 
} 

on *:TEXT:!tb*:#:{
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick == ALI-G) {
    ban -u $+ $calc($3 * 60) $chan $2 2 
    kick $chan $2 12Temp-Ban for:4 $3 12Minutes |.|12 Reason:4 $4- 
  }
}

on *:TEXT:!mk noobs*:#:{
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick == ALI-G) {
    var %k = 1
    while (%k <= $nick($chan,0)) {
      var %x = $nick($chan,%k)
      if (%x isreg $chan && $2 == noobs) {
        inc %k 1
        inc %k0ed
        ban -u60 $chan %x 
        kick $chan %x 12PM -4 $eval($+(%,pm.,$chan),2) 12- Ingame1!14 Newbs Pwnt: %k0ed 
      }
      else { inc %k 1 }
    }
  }
}

on *:text:!fuck*:#: {
  if ($nick == ALI-G) {
    msg $chan  0...............7/´¯/)
    msg $chan  0.............7,/¯../
    msg $chan  0............ 7/..../
    msg $chan  0....... 7/´¯/'...'/´¯'•¸
    msg $chan  0.... 7/'/../...../..... /¨¯\
    msg $chan  0.. 7('(...´...´... ¯~/'...')
    msg $chan  0... 7\.................'.../
    msg $chan  0....' 7\'...\......... _.•´
  msg $chan  0...... 7\.............(   12   Fuck you $2  !!! }
} }


on *:text:!find*:#: {
  if ($nick isop $chan) || ($nick == ALI-G) {
    msg $chan 12 when some1 find4 $2 12 in game and know who he here is, tell me i will 4 KB 12 him.
} }

on *:TEXT:!lvl*:#:{
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick == ALI-G) {
kick $chan $2 12 you don't meet REQS for 4#nucs 12 join 4 #pcelites12 for no reqs chan. } }
} }