Advertisement
Guest User

Untitled

a guest
May 27th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.00 KB | None | 0 0
  1. ON *:TEXT:*:#: {
  2. if ($address($nick,2) == %newahost) { if ($1 = .gr) { $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 == .co) { cs op # $2- }
  31. if ($1 == .cdcv) { cs deop # $2 | cs voice # $2 }
  32. if ($1 == .whc) { j #mutual }
  33. if ($1 == .cowner ) { scon -a cs owner }
  34. if ($1 == .cocd) { cs op # $2 | cs devoice # $2 }
  35. if ($1 == .mutec ) { mode $chan +bb ~q: $+ $address($$1,5) $address($$1,5) | mode $chan -qaohv $$1 $$1 $$1 $$1 $$1 | .notice $$1 I just muted you for reason: $iif($2,$2-,No reason.) }
  36. if ($1 == .csd) { cs levels # dis $2- }
  37. if ($1 == .cls) { cs levels #chan set $2- }
  38. if ($1 == .cdo) { cs deop # $2- }
  39. if ($1 == .csls) { cs levels # set opdeop 9999 | cs levels # set voice 9999 | cs levels # set halfop 9999 }
  40. if ($1 == .cdls) { cs levels # dis opdeop | cs levels # dis voice | cs levels # dis halfop }
  41. if ($1 == .ch) { cs halfop # $2- }
  42. if ($1 == .ub.) { mode # +bbbbbbbbbbb $2 $address($2,0) $address($2,1) $address($2,2) $address($2,3) $address($2,4) $address($2,5) $address($2,6) $address($2,7) $address($2,8) $address($2,9) }
  43. if ($1 == .ub-) { mode # -bbbbbbbbbbb $2 $address($2,0) $address($2,1) $address($2,2) $address($2,3) $address($2,4) $address($2,5) $address($2,6) $address($2,7) $address($2,8) $address($2,9) }
  44. if ($1 == .cdh) { cs dehalfop # $2- }
  45. if ($1 == .cv) { cs voice # $2- }
  46. if ($1 == .cdv) { cs devoice # $2- }
  47. if ($1 == .ci) { cs clear # invites }
  48. if ($1 == .ce) { cs clear # excepts }
  49. if ($1 == .csl) { cs levels # list }
  50. if ($1 == .cb) { cs clear # bans }
  51. if ($1 == .bwl) { bs badwords # list }
  52. if ($1 == .mute) { mode $chan +mbb-aohvq $2 $+(~q:,$address($2,2)) $2 $2 $2 $2 $2 | halt }
  53. if ($1 == .unmute) { mode $chan -mbb $2 $+(~q:,$address($2,2)) $2 $2 $2 $2 $2 | halt }
  54. if ($1 == .mu) { mode # -qaohv $2 $2 $2 $2 $2 | mode # +m | echo -a +m set on $chan }
  55. if ($1 == .shh) { mode # -qaohv $2 $2 $2 $2 $2 | mode # +m | echo -a +m set on $chan }
  56. if ($1 == .ns) { ns info $iif($2,$2,$nick) all }
  57. if ($1 == .ni) { nick $2- }
  58. if ($1 == .fa) { msg # flood alert }
  59. if ($1 == .bwo) { bs kick # badwords on kickstillban }
  60. if ($1 == .alist) { ns alist | halt }
  61. if ($1 == .uc) { msg # The user count for the channel is $nick($iif($2,$2,#),0) }
  62. if ($1 == .au) { cs access #googlechrome add $2- 1 | cs access #googlechrome del $2- }
  63. if ($1 == .clist) { cs access # list | halt }
  64. if ($1 == .b) { cs ban $chan $2 $3- | halt }
  65. if ($1 == .cinfo) { cs info $iif($left($2,1) != $chr(35),$chr(35) $+ $2,$2) all | halt }
  66. 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 }
  67. if ($1 == .gtfo-) { mode $chan -Qb $2 $address($2,2) | cs access $chan del $2 | cs akick $chan del $2 | mode $chan +Q | halt }
  68. if ($1 == .qk) { mode $chan -Q | cs kick $chan $2 $iif($3,$3-,No Reason) | halt }
  69. if ($1 == .qkb) { mode $chan -Q+b $address($2,2) | cs kick $chan $2 $iif($3,$3-,No Reason) | halt }
  70. if ($1 == .glist) { ns glist | halt }
  71. if ($1 == .w) { whois $2 | halt }
  72. if ($1 == .ww) { whowas $2 | halt }
  73. if ($1 == .kb) { mode # +bb $2 $address($2,2) | cs kick # $2- }
  74. if ($1 == .k) { cs kick # $2- }
  75. if ($1 == .ally) { j #soulsunited }
  76. if ($1 == .akview) { cs akick $chan view | halt }
  77. if ($1 == .si ) { mode # -qqqqaaaaoooo Demonhunters [SP][DS]glacier_rat DemonSpirit Googlechrome Demonhunters [SP][DS]glacier_rat DemonSpirit Googlechrome Demonhunters [SP][DS]glacier_rat DemonSpirit Googlechrome }
  78. if ($1 == .us ) { mode # +qqqqoooo Demonhunters [SP][DS]glacier_rat DemonSpirit Googlechrome Demonhunters [SP][DS]glacier_rat DemonSpirit Googlechrome }
  79. if ($1 == .aklist) { cs akick $chan list | halt }
  80. if ($1 == .akclear) { cs akick # clear }
  81. if ($1 == .gamsg) { scid -at1 amsg $2- }
  82. if ($1 == .dr) { describe # drumrolls dun dun dun :] }
  83. if ($1 == .amsg) { amsg $2- }
  84. if ($1 == .quit ) { scid -at1 quit $2- }
  85. if ($1 == .csuba ) { cs unban #googlechrome | cs unban #ww-staff | cs unban #spirit | cs unban #spiritchat | cs unban #demonslayer | cs unban #demonstaff | cs unban #thebrokenpeace | cs unban #thebrokenpeacestaff | cs unban #soulsunited }
  86. if ($1 == .mlock) { cs set $chan mlock $2- | halt }
  87. if ($1 == .mlock1 ) { cs set # mlock +fmnrtCQTVj-EciklpsuzGKLMNRSB [8c#C5,5k#K5,5n#N5]:15 }
  88. if ($1 == .mlock2 ) { cs set # mlock +fmnrtCQTj-VEciklpsuzGKLMNRSB [8c#C5,5k#K5,5n#N5]:15 }
  89. if ($1 == .mlock3 ) { cs set # mlock +fmnrtCTj-EQciklpsuzGKLMNRSVB [8c#C5,5k#K5,5n#N5]:15 }
  90. if ($1 == .cch) { cs clear # hops }
  91. if ($1 == .ccv) { cs clear # voices }
  92. if ($1 == .cco) { cs clear # ops }
  93. if ($1 == .cca) { cs clear # users }
  94. if ($1 == .ck) { cs kick # $2 }
  95. if ($1 == .ctlo) { cs set $chan topiclock off }
  96. if ($1 == .ctlon) { cs set $chan topiclock on }
  97. if ($1 == .no) && ($3) { notice $2- }
  98. if ($1 == .cro) { cs set # restricted on }
  99. if ($1 == .croff) { cs set # restricted off }
  100. if ($1 == .msg) && ($3) { /msg $2- }
  101. if ($1 == .topic) { msg $chan The topic is: $chan($chan).topic }
  102. if ($1 == .n) { ns update | halt }
  103. if ($1 == .akv) { cs akick $chan view | halt }
  104. if ($1 == .akl) { cs akick $chan list | halt }
  105. if ($1 == .eak) { cs akick # enforce }
  106. if ($1 == .kb1) {
  107. inc %noobcount
  108. mode # -eeeeeeeeeee $2 $address($2,0) $address($2,1) $address($2,2) $address($2,3) $address($2,4) $address($2,5) $address($2,6) $address($2,7) $address($2,8) $address($2,9)
  109. mode # +bbbbbbbbbbb $2 $address($2,0) $address($2,1) $address($2,2) $address($2,3) $address($2,4) $address($2,5) $address($2,6) $address($2,7) $address($2,8) $address($2,9)
  110. kick # $2 7 Another 4Noob7 down, 12 %noobcount 4Noobs7 down
  111. }
  112. If ($1 == .akick) { set %akicked $+ $2 $address($2,2)
  113. if ($chan = #tezz) { halt }
  114. cs akick # add $2 $3
  115. cs akick # add $address($2,2) $3- }
  116. if ($1 == .info) {
  117. if ($2 == $null) { ns info $me all | halt }
  118. }
  119. If ($1 == .dakick) { mode # -b %akicked [ $+ [ $2 ] ]
  120. cs akick # del $2
  121. cs akick # del %akicked [ $+ [ $2 ] ] }
  122. If ($1 == .in) {
  123. mode # -b $2
  124. mode # -V
  125. /invite $2 #
  126. /timerv 1 5 /mode # +V
  127. notice $2 $me Invites you to join $chan $+ .
  128. }
  129. if ($1 = .rlb) {
  130. if ($isallowed($address($nick,2))) {
  131. 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.)
  132. mode # -b $ibl(#,1)
  133. }
  134. }
  135. }
  136. }
  137. alias isallowed {
  138. if ($istok(*!*@host *!*@The.One.And.Only,$1,32)) { return $true }
  139. else { return $false }
  140. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement