Advertisement
SpliftOn

rac +

Apr 23rd, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.33 KB | None | 0 0
  1. on *:input:*: {
  2. if (+all === $1) {
  3. if ($2 = $null) { /cs voice # $me | /cs halfop # $me | /cs op # $me | /cs protect # $me | /cs owner # $me }
  4. else { /cs set # secureops off | /mode $chan +vhoaq $2- $2- $2- $2- $2- $2- | /cs set # secureops on }
  5.  
  6. }
  7. if (-all === $1) {
  8. if ($2 = $null) { /cs deowner # $me | /cs deprotect # $me | /cs deop # $me | /cs dehalfop # $me | /cs voice # $me }
  9. else { /cs set # secureops off | /mode $chan -qaohv $2- $2- $2- $2- $2- | /cs set # secureops on }
  10. }
  11. if (+eI == $1) { mode $chan +e $2 | mode $chan +I $2 }
  12. if (-eI == $1) { mode $chan -e $2 | mode $chan -I $2 }
  13. if ($$1 === +c) { mode $active +c }
  14. if ($$1 === -c) { mode $active -c }
  15. if ($$1 === +I) { mode $active +I }
  16. if ($$1 === -I) { mode $active -I }
  17. if ($$1 === +m) { mode $active +m }
  18. if ($$1 === -m) { mode $active -m }
  19. if ($$1 === +i) { mode $active +i }
  20. if ($$1 === -i) { mode $active -i }
  21. if (+akick == $1) { mode $chan -e $2 | mode $chan -I $2 | chanserv akick $chan add $2 }
  22. if (-akick == $1) { chanserv akick $chan DEL $2 }
  23. if ($$1 === +v) && ($2 == $null) { cs voice $active $me }
  24. if ($$1 === +h) && ($2 == $null) { cs halfop $active $me }
  25. if ($$1 === +o) && ($2 == $null) { cs op $active $me }
  26. if ($$1 === +a) && ($2 == $null) { cs protect $active $me }
  27. if ($$1 === +q) && ($2 == $null) { cs owner $active $me }
  28. if ($$1 === -v) && ($2 == $null) { mode $active -v $me }
  29. if ($$1 === -h) && ($2 == $null) { mode $active -h $me }
  30. if ($$1 === -o) && ($2 == $null) { mode $active -o $me }
  31. if ($$1 === -a) && ($2 == $null) { mode $active -a $me }
  32. if ($$1 === -q) && ($2 == $null) { mode $active -q $me }
  33. if ($$1 === +Q) { mode $chan +Q }
  34. if ($$1 === -Q) { mode $chan -Q }
  35. if ($$1 === +p) { mode $chan +p }
  36. if ($$1 === -p) { mode $chan -p }
  37. if ($$1 === +s) { mode $chan +s }
  38. if ($$1 === -s) { mode $chan -s }
  39. if ($$1 === +t) { mode $chan +t }
  40. if ($$1 === -t) { mode $chan -t }
  41. if ($$1 === +A) { mode $chan +A }
  42. if ($$1 === -A) { mode $chan -A }
  43. if ($$1 === +C) { mode $chan +C }
  44. if ($$1 === -C) { mode $chan -C }
  45. if ($$1 === +G) { mode $chan +G }
  46. if ($$1 === -G) { mode $chan -G }
  47. if ($$1 === +M) { mode $chan +M }
  48. if ($$1 === -M) { mode $chan -M }
  49. if ($$1 === +K) { mode $chan +K }
  50. if ($$1 === -K) { mode $chan -K }
  51. if ($$1 === +N) { mode $chan +N }
  52. if ($$1 === -N) { mode $chan -N }
  53. if ($$1 === +O) { mode $chan +O }
  54. if ($$1 === -O) { mode $chan -O }
  55. if ($$1 === +R) { mode $chan +R }
  56. if ($$1 === -R) { mode $chan -R }
  57. if ($$1 === +S) { mode $chan +S }
  58. if ($$1 === -S) { mode $chan -S }
  59. if ($$1 === +T) { mode $chan +T }
  60. if ($$1 === -T) { mode $chan -T }
  61. if ($$1 === +V) { mode $chan +V }
  62. if ($$1 === -V) { mode $chan -V }
  63. if ($$1 === +b) && ($2 != $null) { ban $chan $2 2 }
  64. if ($$1 === -b) { cs unban $chan $me }
  65. if (+b1 = $$1) { /mode $chan +b ~q: $+ $2- }
  66. if (+b2 = $$1 ) { /ban # ~q: $+ $address($2,1) }
  67. if (+b3 = $$1 ) { /ban # ~q: $+ $address($2,2) }
  68. if (+b4 = $$1 ) { /ban # ~q: $+ $address($2,3) }
  69. if (+b5 = $$1 ) { /ban # ~q: $+ $address($2,4) }
  70. if ($$1 === +k) && ($2 != $null) { cs kick $chan $2 }
  71. if ($$1 === +v) && ($2 != $null) { cs voice $chan $2 }
  72. if ($$1 === +h) && ($2 != $null) { cs halfop $chan $2 }
  73. if ($$1 === +o) && ($2 != $null) { cs op $chan $2 }
  74. if ($$1 === +a) && ($2 != $null) { cs protect $chan $2 }
  75. if ($$1 === +q) && ($2 != $null) { mode $chan +q $2 }
  76. if ($$1 === -q) && ($2 != $null) { mode $chan -q $2 }
  77. if ($$1 === -a) && ($2 != $null) { cs deprotect $chan $2 }
  78. if ($$1 === -o) && ($2 != $null) { cs deop $chan $2 }
  79. if ($$1 === -h) && ($2 != $null) { cs dehalfop $chan $2 }
  80. if ($$1 === -v) && ($2 != $null) { cs devoice $chan $2 }
  81. if ($$1 === +b) && ($2 == $null) { ban $chan $me }
  82. if ($$1 === +k) && ($2 == $null) { cs kick $chan $me }
  83. if ($$1 === +kb) && ($2 != $null) { ban $chan *! $+ $ial($2,1).user $+ @* | cs kick $chan $2 }
  84. if ($$1 === +e) && ($2 == $null) { mode $active +e $me }
  85. if ($$1 === +e) && ($2 != $null) { mode $active +e $2 }
  86. if ($$1 === +I) && ($2 == $null) { mode $active +I $me }
  87. if ($$1 === +I) && ($2 != $null) { mode $active +I $2 }
  88. if (+invit == $1) { invite $2 $chan }
  89. if ($$1 === -e) && ($2 == $null) { /mode $chan -e $me | /mode $chan -e $mask($ial($me,1),2) | /mode $chan -e $mask($ial($me,1),3) | /mode $chan -e $address($me,1) }
  90. if ($$1 === -e) && ($2 != $null) { /mode $chan -e $2 | /mode $chan -e $mask($ial($2,1),2) | /mode $chan -e $mask($ial($2,1),3) | /mode $chan -e $address($2,1) }
  91. if ($$1 === -I) && ($2 == $null) { /mode $chan -I $me | /mode $chan -I $mask($ial($me,1),2) | /mode $chan -I $mask($ial($me,1),3) | /mode $chan -I $address($me,1) }
  92. if ($$1 === -I) && ($2 != $null) { /mode $chan -I $2 | /mode $chan -I $mask($ial($2,1),2) | /mode $chan -I $mask($ial($2,1),3) | /mode $chan -I $address($2,1) }
  93. if (+3 == $1) { ChanServ ACCESS $chan ADD $2 3 | timer 1 5 mode $chan +v $2 }
  94. if (+4 == $1) { ChanServ ACCESS $chan ADD $2 4 | timer 1 5 mode $chan +h $2 }
  95. if (+5 == $1) { ChanServ ACCESS $chan ADD $2 5 | timer 1 5 mode $chan +o $2 }
  96. if (+10 == $1) { ChanServ ACCESS $chan ADD $2 10 | timer 1 5 mode $chan +a $2 }
  97. if (+100 == $1) { ChanServ ACCESS $chan ADD $2 100 | timer 1 5 mode $chan +a $2 }
  98. if (+1000 == $1) { ChanServ ACCESS $chan ADD $2 1000 | timer 1 5 mode $chan +a $2 }
  99. if (+9999 == $1) { /cs set $chan secureops off | /mode # +q $2 | /cs set $chan secureops on | timer 1 3 ChanServ ACCESS $chan ADD $2 9999 }
  100. if (-access == $1) { ChanServ ACCESS $chan DEL $2 }
  101. if (-2 == $1) { ChanServ ACCESS $chan ADD $2 -2 }
  102. if (+del == $1) { /cs access $chan del $2- | /mode # -qaohv # $2- $2- $2- $2- $2- }
  103. if ($$1 === -u) { mode $chan -u }
  104. if ($$1 === +u) { mode $chan +u }
  105. if ($$1 === +cop) && ($2 == $null) { /oper %ircop.nick %ircop.pass | mode $me +H | /hs on }
  106. if ($$1 === +ad) && ($2 == $null) { /msg operserv SET SUPERADMIN on }
  107. if ($$1 === -ad) && ($2 == $null) { /msg operserv SET SUPERADMIN off }
  108. if ($$1 === -ex) && ($2 == $null) { /msg ChanServ CLEAR $chan EXCEPTS }
  109. if ($$1 === -inv) && ($2 == $null) { /msg ChanServ CLEAR $chan INVITES }
  110. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement