Advertisement
iPeer

/drops

May 16th, 2011
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 4.20 KB | None | 0 0
  1. ; --------------
  2. ;
  3. ; [REQUEST] RuneScape Slayer Specific Drop Tracker
  4. ; Requested by: The-Slayer (SwiftIRC)
  5. ; Writen By: iPeer (SwiftIRC)
  6. ; Testers: iPeer (SwiftIRC)
  7. ; Created: 07 October, 2010
  8. ; Last Modified: 16 May, 2011
  9. ;
  10. ; Notice: If there are any drops missing you would like to see added, if you have the knowhow feel free to add them.
  11. ; if you don't have the knowhow, feel free to contact me (SwiftIRC, Forums, etc) and i'll try to get around to adding them.
  12. ;
  13. ; 16 May, 2011 - Removed Addy boots and Black mystic top/bottoms in replace of Hexrest, Focus sight and Staff of Light.
  14. ;
  15. ; --------------
  16. ;
  17. ; Format: /drops [drop]
  18. ; /drops - Wil ldisplay all drops
  19. ; /drops DROP - Will add a tally to that drop, providiing the regex matches it. Otherise you'll get a SUPER AWESOME error message.
  20. ;
  21. ; --------------
  22. on *:load:{
  23.   if (%d.aboots || %d.bmtop || %d.bmbottom) {
  24.     echo -tg Removing variables for some crap that doesn't exist in this script anymore...
  25.     unset %d.aboots %d.bmtop %d.bmbottom
  26.   }
  27. }
  28. alias drops {
  29.   if (!$1) { msg $active $+($c1($chr(40)),$c2(Slayer Drops),$c1($chr(41))) $&
  30.       $c1(Effigies:) $c2($iif(%d.effigy,$bytes($v1,b),0)) $&
  31.       $c1(Whips:) $c2($iif(%d.whip,$bytes($v1,b),0)) $&
  32.       $c1(Granite Mauls:) $c2($iif(%d.maul,$bytes($v1,b),0)) $&
  33.       $c1(Dragon Boots:) $c2($iif(%d.dboots,$bytes($v1,b),0)) $&
  34.       $c1(Rune Boots:) $c2($iif(%d.rboots,$bytes($v1,b),0)) $&
  35.       $c1(Focus Sight:) $c2($iif(%d.fsight,$bytes($v1,b),0)) $&
  36.       $c1(Dark Bows:) $c2($iif(%d.dbow,$bytes($v1,b),0)) $&
  37.       $c1(Dragon Platelegs:) $c2($iif(%d.dlegs,$bytes($v1,b),0)) $&
  38.       $c1(Dragon Plateskirts:) $c2($iif(%d.dskirt,$bytes($v1,b),0))
  39.     msg $active $+($c1($chr(40)),$c2(Slayer Drops),$c1($chr(41))) $&
  40.       $c1(Dragon Meds:) $c2($iif(%d.dmed,$bytes($v1,b),0)) $&
  41.       $c1(Visages:) $c2($iif(%d.visage,$bytes($v1,b),0)) $&
  42.       $c1(Hexcrest:) $c2($iif(%d.hexcrest,$bytes($v1,b),0)) $&
  43.       $c1(Staff of Light) $c2($iif(%d.sol,$bytes($v1,b),0)) $&
  44.       $c1(Amulet of Ranging:) $c2($iif(%d.aoranging,$bytes($v1,b),0))
  45.   }
  46.  
  47.   ; Regex abuse, I choose you!
  48.  
  49.   elseif ($regex($1-,/^(ancient ?|starved ?|nourished ?|sated ?|gorged ?)?effig(y|ie)s?/Si)) { inc %d.effigy | echo -tag $c1(Effigy drop count is now:) $c2(%d.effigy) }
  50.   elseif ($regex($1-,/^(abyssal ?)?whip/Si)) { inc %d.whip | echo -tag $c1(Whip drop count is now:) $c2(%d.whip) }
  51.   elseif ($regex($1-,/^(gran[ia]te ?)?maul/Si)) { inc %d.maul | echo -tag $c1(Maul drop count is now:) $c2(%d.maul) }
  52.   elseif ($regex($1-,/^(d(ragon)? ?)?boot(s|ies)/Si)) { inc %d.dboots | echo -tag $c1(Dragon boots drop count is now:) $c2(%d.dboots) }
  53.   elseif ($regex($1-,/^(r(un(e|ite))? ?)boot(s|ies)/Si)) { inc %d.rboots | echo -tag $c1(Rune boots drop count is now:) $c2(%d.rboots) }
  54.   elseif ($regex($1-,/^(f(ocus)? ?sights?)/Si)) { inc %d.fsight | echo -tag $c1(Focus sight drop count is now:) $c2(%d.fsight) }
  55.   elseif ($regex($1-,/^(d(ark)? ?)bow/Si)) { inc %d.dbow | echo -tag $c1(Dark bow drop count is now:) $c2(%d.dbow) }
  56.   elseif ($regex($1-,/^(d(ragon)? ?)(pencils?|(plate)?legs?)/Si)) { inc %d.dlegs | echo -tag $c1(Dragon platelegs drop count is now:) $c2(%d.dlegs) }
  57.   elseif ($regex($1-,/^(d(ragon)? ?)(kilt|(plate)?skirt)/Si)) { inc %d.dskirt | echo -tag $c1(Dragon plateskirts drop count is now:) $c2(%d.dskirt) }
  58.   elseif ($regex($1-,/^(d(ragon)? ?)(med(uim)? ?)(helm(et)?)?/Si)) { inc %d.dmed | echo -tag $c1(Dragon med helm drop count is now:) $c2(%d.dmed) }
  59.   elseif ($regex($1-,/^(d(racon|rgonic)? ?)?visage/Si)) { inc %d.visage | echo -tag $c1(Draconis visage drop count is now:) $c2(%d.visage) $+ $c1(... You lucky bugger) }
  60.   elseif ($regex($1-,/^(hex(crest)?))) { inc %d.hexcrest | echo -tag $c1(Hexcrest drop count is now:) $c2(%d.hexcrest) }
  61.   elseif ($regex($1-,/^(s(taff)? ?of? ?l(ight)?))) { inc %d.sol | echo -tag $c1(Staff of Light drop count is now:) $c2(%d.sol) }
  62.   elseif ($regex($1-,/^(am(my|ulet(te)? ?)(of ?)?(rang(er?|ing))|(rang(er?|ing) ?)(am(my|mulet(te)?) ?))/Si)) { inc %d.aoranging | echo -tag $c1(Amulet of Ranging drop count is now:) $c2(%d.aoranging) }
  63.   else { echo -tag $c1(Aww $+ $chr(44) you bypassed all my regex just so I could tell you) $c2(that drop isn't valid) $+ $c1(. How sweet :3) }
  64.  
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement