Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. on *:INPUT:#: {
  2. if ($1 == .akick) {
  3. cs akick # add $2-
  4. }
  5. if ($1 = .delakick) {
  6. cs akick # del $2-
  7. }
  8. if ($1 == .entrymsg) {
  9. cs set # entrymsg $2-
  10. }
  11. if ($1 == .eI) && (!$2) {
  12. mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2)
  13. }
  14. if ($2) && ($1 == .eI) {
  15. mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  16. }
  17. if ($1 == .add) || ($1 == .del) || ($1 == .list) {
  18. cs access $chan $remove($1,.) $2-
  19. }
  20. if ($1 == .add) && ($$3 isnum) {
  21. $iif($3 > 2, mode $chan $iif($3 == 3,+v-oha) $iif($3 == 4,+h-voa) $iif($3 isnum 5-9,+o-hva) $iif($3 > 9,+ao-hv) $str($2 $+ $chr(32),5))
  22. }
  23. if ($1 == .del) && ($2 ison $chan) {
  24. mode # -aohv $2 $2 $2 $2
  25. }
  26. if ($left($1,1) == +) || ($left($1,1) == -) {
  27. $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2))
  28. }
  29. if ($1 == .secureops) {
  30. cs set # secureops $2
  31. }
  32. if ($1 == .update) {
  33. ns update
  34. }
  35. if ($1 == .founder) {
  36. cs set # founder $2
  37. }
  38. if ($1 == .inv) {
  39. invite $2 $chan
  40. }
  41. if ($1 == +) {
  42. mode $chan +v $2
  43. }
  44. if ($1 == .k) {
  45. kick $chan $2-
  46. }
  47. if ($1 == op) {
  48. mode $chan +o $2
  49. }
  50. if ($1 == kb) {
  51. mode $chan +b $address($2,2)
  52. kick $chan $2-
  53. }
  54. if ($1 == -b) {
  55. mode $chan -b $2
  56. mode $chan -b $address($2,2)
  57. ban -r $chan $2
  58. }
  59. if ($1 == .b) {
  60. mode $chan +b $address($2,2)
  61. }
  62. if ($1 == .deop) {
  63. mode $chan -o $2
  64. }
  65. if ($1 == .topic) {
  66. msg $chan The topic is: $chan($chan).topic
  67. }
  68. if ($1 == .mlock) {
  69. cs set # mlock $2-
  70. }
  71. if ($1 == .assign) {
  72. bs assign # $2
  73. }
  74. if ($1 == .unassign) {
  75. bs unassign #
  76. }
  77. if ($1 == .topiclock) {
  78. cs set # topiclock $2
  79. }
  80. if ($1 == .cs) {
  81. cs $2 # $3-
  82. }
  83. if ($1 == .bs) {
  84. bs $2 # $3-
  85. }
  86. if ($1 == .sp) {
  87. mode # +RntjfmV 2:99 [8j#i10]:10
  88. }
  89. if ($1 == .spoff) {
  90. mode # -RjfmV 2:99 [8j#i10]:10
  91. }
  92. if ($1 == .Qkb) {
  93. mode # +bb-vhoaQ $2 $address($2,2) $2 $2 $2 $2
  94. mode # -Q
  95. kick # $2 $3-
  96. mode # +Q
  97. }
  98. if ($1 == .levels) {
  99. cs levels # set $$2-3
  100. }
  101. if ($1 == .ucount) {
  102. say The user count for $iif($2,$2,#) is $nick($iif($2,$2,#),0)
  103. }
  104. if ($1 == .info) {
  105. cs info $chan
  106. }
  107. if ($1 == .mute) {
  108. mode $chan +b ~q: $+ $address($2,6)
  109. .timer 1 $calc( $3 * 60 ) mode $chan -b ~q: $+ $address($2,6)
  110. }
  111. if ($1 == .unmute) {
  112. mode $chan -b ~q: $+ $address($2,6)
  113. }
  114. if ( $1 == .reg) {
  115. cs register $chan pass iLoveSwiftIRC
  116. }
  117. if ($1 == .n) { Nick $2 }
  118. if ($1 == iden) { ns id pass $2 | halt }
  119. if ($1 == aw) { Nick WeeD`aw $2 | halt }
  120. if ($1 == back) { Nick WeeD` $2 | halt }
  121. if ( .ns == $1) { /ns alist $2 $3 $4 }
  122. If ($1 == .cb) $iif($me ison $chan,cs clear # bans)
  123. if (.glist == $1) { /ns glist $2 $3 $4 }
  124. if (.pc == $1 ) { /say 4motoriukas birzgia:412 $uptime(system,1) $2- | halt }
  125. if (.mirc == $1 ) { /say mIRC ijungta:4 $uptime(mirc,1) $2- | halt }
  126. if ( .data == $1) { /s -m irc.data.lt $2 $3 $4 | halt }
  127. if ( .h == $1) { /hop $active $2 $3 $4 }
  128. if ( .swift == $1) { /s -m irc.swiftirc.co.uk $2 $3 $4 | halt }
  129. if $1 == inv { /invite runescript # $2 $3 $4 }
  130. if (.akl == $1) { /cs akick # list $2 $3 $4 }
  131. if $1 == b { mode # +b $2 $address( $+ $2 $+ ,2) }
  132. if ($1 == .idle) { whois $$2 $$2 }
  133. if ($1 == oplia) { cs op # $2 }
  134. if ($1 == .xujop) { mode # -o $2 }
  135. if ($1 == ~) { cs owner $chan $me $2 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement