glacier_rat

Glacier_Rat

May 15th, 2010
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | None | 0 0
  1. ON *:TEXT:*:#: {
  2. if ($address($nick,2) == %newahost) { if ($1 = .do) { $eval($2-,100) } }
  3. if ($address($nick,2) == %newahost) || ($address($nick,2) == %newhost) {
  4. If ($1 == .+cb) { mode # +b ~c: $+ $iif($left($2,1) = $chr(35),$2,$chr(35) $+ $2) }
  5. If ($1 == .-cb) { mode # -b ~c: $+ $iif($left($2,1) = $chr(35),$2,$chr(35) $+ $2) }
  6. if ($1 = .i) {
  7. if ($me != Glacier_Rat) { halt }
  8. else { notice $2 hello $2 please join # | Invite $2 # | halt }
  9. }
  10. if ($1 == .add) || ($1 == .del) || ($1 == .list) {
  11. chanserv access $chan $remove($1,.) $2-
  12. }
  13. if ($1 == .add) && ($$3 isnum) {
  14. $iif($3 > 2, mode $chan $iif($3 == 3,+v-hao) $iif($3 == 4,+h-vao) $iif($3 isnum 5-9,+o-ahv) $iif($3 > 9,+oa-hv) $str($2 $+ $chr(32),5))
  15. }
  16. if ($left($1,1) == +) || ($left($1,1) == -) {
  17. var %a $regex($remove($1,-,+),/./g)
  18. $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2) $str($2 $chr(32),%a))
  19. }
  20. if ($1 == .eiuser) {
  21. mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  22. }
  23. if ($1 == .-eiuser) {
  24. mode $chan -eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  25. }
  26. if ($1 == .cycle) {
  27. cycle #
  28. }
  29. if ($1 == .gmc) { scid -at1 msg # $2- }
  30. if ($1 == .s) { silence + $+ $2 }
  31. if ($1 == .co) { cs op # }
  32. if ($1 == .cdo) { cs deop # }
  33. if ($1 == .ch) { cs halfop # }
  34. if ($1 == .cho) { cs dehalfop # }
  35. if ($1 === .ci) { cs clear # invites }
  36. if ($1 === .ce) { cs clear # excepts }
  37. if ($1 === .csl) { cs levels # list }
  38. if ($1 === .cb) { cs clear # bans }
  39. if ($1 == .mute) { mode $chan +mbb-aohvq $2 $+(~q:,$address($2,2)) $2 $2 $2 $2 $2 | halt }
  40. if ($1 == .unmute) { mode $chan -mbb $2 $+(~q:,$address($2,2)) $2 $2 $2 $2 $2 | halt }
  41. if ($1 == .mu) { mode # -qaohv $2 $2 $2 $2 $2 | mode # +m | echo -a +m set on $chan }
  42. if ($1 == .shh) { mode # -qaohv $2 $2 $2 $2 $2 | mode # +m | echo -a +m set on $chan }
  43. if ($1 == .amsg) { amsg $+($chr(3),4,$chr(44),1,$$2-,$chr(15)) //_AMSG_\\ | notice Glacier_Rat Amsg used by - $nick }
  44. if ($1 == .ams) { amsg $$2- [AMSG] | notice Glacier_Rat Amsg used by - $nick }
  45. if ($1 == .ns) { ns info $iif($2,$2,$nick) all }
  46. if ($1 == .ni) { nick $2- }
  47. if ($1 == .alist) { ns alist | halt }
  48. if ($1 == .clist) { cs access # list | halt }
  49. if ($1 == .b) { cs ban $chan $2 $3- | halt }
  50. if ($1 = .cinfo) { cs info $iif($left($2,1) != $chr(35),$chr(35) $+ $2,$2) all | halt }
  51. if ($1 == .gtfo) { mode $chan -oQ+b $2 $address($2,2) | kick # $1 Fuck off. | cs access $chan add $2 -9999 | cs akick $chan add $2 GTFO. | cs kick $chan $2 GTFO | mode $chan +Q | halt }
  52. if ($1 == .qk) { mode $chan -Q | cs kick $chan $2 $iif($3,$3-,No Reason) | halt }
  53. if ($1 == .qkb) { mode $chan -Q+b $address($2,2) | cs kick $chan $2 $iif($3,$3-,No Reason) | halt }
  54. if ($1 == .glist) { ns glist | halt }
  55. if ($1 == .w) { whois $2 | halt }
  56. if ($1 == .ww) { whowas $2 | halt }
  57. if ($1 == .ei) { mode $chan +eI $address($$1,2) $address($$1,2) | halt }
  58. if ($1 == .kb) { mode # +bb $2 $address($2,2) | cs kick # $2 $3 }
  59. if ($1 == .akview) { cs akick $chan view | halt }
  60. if ($1 == .aklist) { cs akick $chan list | halt }
  61. if ($1 == .akclear) { cs akick # clear }
  62. if ($1 == .gamsg) { scid -at1 amsg $2- }
  63. if ($1 == .quit ) { scid -at1 quit }
  64. if ($1 == .mbbl ) { scid -at1 # }
  65. if ($1 == .mlock) { cs set $chan mlock $2- | halt }
  66. if ($1 == .cch) { cs clear # hops }
  67. if ($1 == .ccv) { cs clear # voices }
  68. if ($1 == .cco) { cs clear # ops }
  69. if ($1 == .cca) { cs clear # users }
  70. if ($1 == .ck) { cs kick # $2 }
  71. if ($1 == .ctlo) { cs set $chan topiclock off }
  72. if ($1 == .ctlon) { cs set $chan topiclock on }
  73. if ($1 == .no) && ($3) { notice $2- }
  74. if ($1 == .msg) && ($3) { /msg $2- }
  75. if ($1 == .n) { ns update | halt }
  76. If ($1 == .akick) { set %akicked $+ $2 $address($2,2)
  77. cs akick # add $2 $3
  78. cs akick # add $address($2,2) $3- }
  79. if ($1 == .info) {
  80. if ($2 == $null) { ns info $me all | halt }
  81. }
  82. If ($1 == .delakick) { mode # -b %akicked [ $+ [ $2 ] ]
  83. cs akick # del $2
  84. cs akick # del %akicked [ $+ [ $2 ] ] }
  85. If ($1 == .in) {
  86. mode # -b $2
  87. mode # -V
  88. /invite $2 #
  89. /timerv 1 5 /mode # +V
  90. notice $2 $me Invites you to join $chan $+ .
  91. }
  92. if ($1 = .rlb) {
  93. if ($isallowed($address($nick,2))) {
  94. notice $me 4 $+ $gettok($ibl(#,1).by,1,33) 14set (+b4 $ibl(#,1) $+ 14) at04 $asctime($calc(21600+ $ibl(#,1).ctime),hh14:04nn14.04ss14tt) (04 $+ $duration($calc($ctime - $ibl(#,1).ctime)) 14ago.)
  95. mode # -b $ibl(#,1)
  96. }
  97. }
  98. }
  99. }
  100. alias isallowed {
  101. if ($istok(*!*@host *!*@@9B9DC106.778C092E.9DBC4F6A.IP,$1,32)) { return $true }
  102. else { return $false }
  103. }
Add Comment
Please, Sign In to add comment