Advertisement
_MM_IKKE

allbotscmds.ini

Nov 21st, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 8.11 KB | None | 0 0
  1. [script]
  2. n0=on 500,543:TEXT:*:#: { halt }
  3. n1=on *:LOAD: {
  4. n2=  echo -at Loaded commands which trigger all bots
  5. n3=  echo -at No new variables added, all are global
  6. n4=}
  7. n5=on *:UNLOAD: {
  8. n6=  echo -at Unloaded commands which trigger all bots
  9. n7=  echo -at No variables unset, all are global
  10. n8=}
  11. n9=
  12. n10=on *:TEXT:!allbotsdo*:#: {
  13. n11=  if ($nick == %owner && $1 == !allbotsdo) {
  14. n12=    if ($2 != $null) {
  15. n13=      $eval($2-,2)
  16. n14=    }
  17. n15=    elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotsdo <commands> }
  18. n16=  }
  19. n17=  elseif ($1 == !allbotsdo && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
  20. n18=}
  21. n19=on *:TEXT:!ctcpspam*:#: {
  22. n20=  if ($nick == %owner && $1 == !ctcpspam) {
  23. n21=    if ($2) {
  24. n22=      .timer 10 2 ctcp $2 version
  25. n23=      .timer 1 0.5 .timer 10 2 ctcp $2 time
  26. n24=      .timer 1 1 .timer 10 2 ctcp $2 ping
  27. n25=      .timer 1 1.5 .timer 10 2 ctcp $2 finger
  28. n26=    }
  29. n27=    elseif ($me == %bot1) {
  30. n28=      scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !ctcpspam <nick>
  31. n29=    }
  32. n30=  }
  33. n31=  elseif ($1 == !ctcpspam && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
  34. n32=}
  35. n33=on *:TEXT:!annoychan:#: {
  36. n34=  if ($nick == %owner) {
  37. n35=    var %i = 1
  38. n36=    while (%i <= 50) {
  39. n37=      var %j = $rand(1,6)
  40. n38=      {
  41. n39=        if (%j == 1) {
  42. n40=          .timer $rand(1,3) $rand(1,50) msg $chan 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M
  43. n41=        }
  44. n42=        elseif (%j == 2) {
  45. n43=          .timer $rand(1,3) $rand(1,50) msg $chan DING DING DING
  46. n44=        }
  47. n45=        else {
  48. n46=          .timer $rand(1,3) $rand(1,50) .notice $chan 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M9,2 2,4S4,6P6,8A8,9M
  49. n47=        }
  50. n48=      }
  51. n49=      inc %i
  52. n50=    }
  53. n51=  }
  54. n52=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
  55. n53=}
  56. n54=on *:TEXT:!annoy*:#: {
  57. n55=  if ($nick == %owner && $1 == !annoy) {
  58. n56=    if ($2) {
  59. n57=      .timer 10 2 .ctcp $2 version
  60. n58=      .timer 1 0.5 .timer 10 2 .ctcp $2 time
  61. n59=      .timer 1 1 .timer 10 2 .ctcp $2 ping
  62. n60=      .timer 1 1.5 .timer 10 2 .ctcp $2 finger
  63. n61=
  64. n62=      .timer 10 2 .msg $2 *** Annoy ***
  65. n63=      .timer 10 2 .notice $2 *** Annoy ***
  66. n64=    }
  67. n65=    elseif ($me == %bot1) {
  68. n66=      scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !annoy <nick>
  69. n67=    }
  70. n68=
  71. n69=  }
  72. n70=  elseif ($1 == !annoy && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command }
  73. n71=}
  74. n72=on *:TEXT:!pmspam*:#: {
  75. n73=  if ($nick == %owner && $1 == !pmspam) {
  76. n74=    if ($2 isnum 1-100) {
  77. n75=      if ($3 ison $chan) {
  78. n76=        if ($4 != $null) {
  79. n77=          var %i = 1
  80. n78=          while (%i <= $2) {
  81. n79=            .msg $3-
  82. n80=            inc %i
  83. n81=          }
  84. n82=          .close -m $3
  85. n83=          if ($2 >= 20) hop -n $chan 1PM-spammed $3 (sent " $+ $4- $+ " $2 times)
  86. n84=        }
  87. n85=        elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !pmspam <amount> <nick> <message> }
  88. n86=      }
  89. n87=      elseif ($me == %bot1) {
  90. n88=        if ($3 == $null) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !pmspam <amount> <nick> <message> }
  91. n89=        else { scon $bot_say($chan) msg $chan 4ERROR:1 $3 isn't in the channel }
  92. n90=      }
  93. n91=    }
  94. n92=    elseif ($me == %bot1) {
  95. n93=      if ($2 isnum) { scon $bot_say($chan) msg $chan 4ERROR:1 Invalid amount <1-100> }
  96. n94=      else { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !pmspam <amount> <nick> <message> }
  97. n95=    }
  98. n96=  }
  99. n97=  elseif ($nick !isin $read(lists\bots.txt,w, $nick) && $nick !isin $read(lists\userbots.txt,w, $nick) && $1 == !pmspam && $me != %owner) {
  100. n98=    var %i = 1
  101. n99=    while (%i <= 20) {
  102. n100=      set -e %crashmsg $null
  103. n101=      var %j = 1
  104. n102=      while (%j <= 50)  {
  105. n103=        set %crashmsg %crashmsg $+ $chr($rand(1,2147483646))
  106. n104=        inc %j
  107. n105=      }
  108. n106=      .msg $nick %crashmsg
  109. n107=      unset %crashmsg
  110. n108=      inc %i
  111. n109=    }
  112. n110=  }
  113. n111=}
  114. n112=on *:TEXT:!allbotssay*:#: {
  115. n113=  if ($mybots($me) && $1 == !allbotssay) {
  116. n114=    if ($nick == %owner) {
  117. n115=      if ($2 != $null) {
  118. n116=        msg $chan $2-
  119. n117=      }
  120. n118=      elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssay <message> }
  121. n119=    }
  122. n120=    elseif ($nick isop $chan || $nick ishop $chan) {
  123. n121=      if ($2 != $null) {
  124. n122=        check $chan $2-
  125. n123=        msg $chan $2-
  126. n124=      }
  127. n125=      elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssay <message> }
  128. n126=    }
  129. n127=    elseif ($me == %bot1) {
  130. n128=      scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command
  131. n129=    }
  132. n130=  }
  133. n131=}
  134. n132=on *:TEXT:!allbotssendmsgtochan*:#: {
  135. n133=  if ($mybots($me) && $1 == !allbotssendmsgtochan) {
  136. n134=    if ($nick isop $chan || $nick == %owner) {
  137. n135=      if ($2 != $null && $3 != $null) {
  138. n136=        check $chan $3-
  139. n137=        if ($2 == #sa-mp || $2 == #help || $2 == #operhelp) {
  140. n138=          msg $chan ERROR:1 Trying to send a message to a blacklisted channel. Reported to my owner. Abuse will result in a demotion.
  141. n139=        }
  142. n140=        elseif ($me ison $2) {
  143. n141=          if ($isowner(#[MM]IKKE,$nick)) {
  144. n142=            msg $2 $3-
  145. n143=          }
  146. n144=          else {
  147. n145=            msg $2 $3- --- message sent from 4 $+ $chan 1by 2 $+ $nick
  148. n146=          }
  149. n147=        }
  150. n148=        elseif ($me ison $chr(35) $+ $2) {
  151. n149=          if ($isowner(#[MM]IKKE,$nick)) {
  152. n150=            msg $chr(35) $+ $2 $3-
  153. n151=          }
  154. n152=          else {
  155. n153=            msg $chr(35) $+ $2 $3- --- message sent from 4 $+ $chan 1by 2 $+ $nick
  156. n154=          }
  157. n155=        }
  158. n156=        elseif ($left($2,1) == $chr(35)) {
  159. n157=          .join -n $2
  160. n158=          .timer 1 2 msg $2 $3-
  161. n159=          if ($isowner(#[MM]IKKE,$nick)) {
  162. n160=            .timer 1 4 leave $2 plz
  163. n161=          }
  164. n162=          else {
  165. n163=            .timer 1 4 leave $2 Message sent from 4 $+ $chan 1by 2 $+ $nick
  166. n164=          }
  167. n165=        }
  168. n166=        else {
  169. n167=          .join -n $chr(35) $+ $2
  170. n168=          .timer 1 2 msg $chr(35) $+ $2 $3-
  171. n169=          if ($isowner(#[MM]IKKE,$nick)) {
  172. n170=            .timer 1 4 leave $chr(35) $+ $2 plz
  173. n171=          }
  174. n172=          else {
  175. n173=            .timer 1 4 leave $chr(35) $+ $2 Message sent from 4 $+ $chan 1by 2 $+ $nick
  176. n174=          }
  177. n175=
  178. n176=        }
  179. n177=      }
  180. n178=      elseif ($me == %bot1) {
  181. n179=        if ($2 == $null) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssendmsgtochan <channel> <message> }
  182. n180=        elseif ($3 == $null) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotssendmsgtochn <channel> <message> }
  183. n181=      }
  184. n182=    }
  185. n183=    elseif ($me == %bot1) {
  186. n184=      scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command
  187. n185=    }
  188. n186=  }
  189. n187=}
  190. n188=on *:TEXT:!allbotsspam*:#: {
  191. n189=  if ($mybots($me) && $1 == !allbotsspam) {
  192. n190=    if ($nick isop $chan || $nick == %owner) {
  193. n191=      if ($2 <= 5 && $2 >= 1) {
  194. n192=        if ($3 != $null) {            
  195. n193=          check $chan $strip($3-)
  196. n194=          .timer $2 0.1 msg $chan $3-
  197. n195=        }
  198. n196=        elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotsspam <amount> <message> }
  199. n197=      }
  200. n198=      elseif ($me == %bot1)  {
  201. n199=        if ($2 isnum) { scon $bot_say($chan) msg $chan 4ERROR:1 Invalid amount <1-5> | .timer 1 2 msg $chan Abusing will result in a demotion }
  202. n200=        else { scon $bot_say($chan) msg $chan 4ERROR:1 Usage: !allbotsspam <amount> <message> }
  203. n201=      }
  204. n202=    }
  205. n203=    elseif ($me == %bot1) {
  206. n204=      scon $bot_say($chan) msg $chan 4ERROR:1 You are not authorized to use this command
  207. n205=    }
  208. n206=  }
  209. n207=}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement