_MM_IKKE

reset.ini

Nov 22nd, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 3.65 KB | None | 0 0
  1. [script]
  2. n0=on 500,543:TEXT:*:#: { halt }
  3. n1=on *:LOAD: {
  4. n2=  echo -at Loaded reset script
  5. n3=  echo -at No new variables added, all are global
  6. n4=}
  7. n5=on *:UNLOAD: {
  8. n6=  echo -at Unloaded reset script
  9. n7=  echo -at No variables unset, all are global
  10. n8=}
  11. n9=on *:TEXT:!reset:#: {
  12. n10=  if ($nick == [MM]IKKE && $me == IKKE1) {
  13. n11=    reset cmVtb3Rl
  14. n12=    scon $bot_say($chan) .timer 1 1 msg $chan Variables successfully reset. bot1 = %bot1 , bot2 = %bot2 , owner = %owner
  15. n13=  }
  16. n14=  elseif ($nick == %owner && $me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: Use !resetbots first }
  17. n15=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  18. n16=}
  19. n17=
  20. n18=on *:TEXT:!resetconv:#: {
  21. n19=  if ($nick == %owner && $me == %bot1) {
  22. n20=    resetconv cmVtb3Rl
  23. n21=    scon $bot_say($chan) .timer 1 1 msg $chan Conversation has been reset
  24. n22=  }
  25. n23=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  26. n24=}
  27. n25=on *:TEXT:!resetdictionary:#: {
  28. n26=  if ($nick == %owner && $me == %bot1) {
  29. n27=    resetdictionary cmVtb3Rl
  30. n28=    scon $bot_say($chan) .timer 1 1 msg $chan Dictionary has been reset
  31. n29=  }
  32. n30=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  33. n31=}
  34. n32=on *:TEXT:!resetquiz:#: {
  35. n33=  if ($nick == %owner && $me == %bot1) {
  36. n34=    scon $bot_say($chan) msg $chan Quiz out of use.
  37. n35=    halt
  38. n36=    scon $bot_say($chan) msg $chan Quiz has been reset
  39. n37=  }
  40. n38=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  41. n39=}
  42. n40=
  43. n41=
  44. n42=on *:TEXT:!resetquotes:#: {
  45. n43=  if ($me == %bot1 && $nick == %owner) {
  46. n44=    resetquotes cmVtb3Rl
  47. n45=    .timer 1 1 scon $bot_say($chan) msg $chan Successfully reset the quotes file
  48. n46=  }
  49. n47=  elseif ($me == %bot1) {
  50. n48=    scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command
  51. n49=  }
  52. n50=}
  53. n51=on *:TEXT:!resetbots:#: {
  54. n52=  if ($nick == %owner) {
  55. n53=    if ($me == %bot1) {
  56. n54=      set %bot1 IKKE1
  57. n55=      ghostbot1
  58. n56=      .timer 1 1 nick IKKE1
  59. n57=      .timer 1 2 bot
  60. n58=    }
  61. n59=    elseif ($me == %bot2) {
  62. n60=      set %bot2 IKKE2
  63. n61=      ghostbot2
  64. n62=      .timer 1 1 nick IKKE2
  65. n63=      .timer 1 2 bot  
  66. n64=    }
  67. n65=    elseif ($me == IKKE1) {
  68. n66=      set %bot1 IKKE1
  69. n67=    }
  70. n68=    elseif ($me == IKKE2) {
  71. n69=      set %bot2 IKKE2
  72. n70=    }
  73. n71=    else { msg $chan 4ERROR: I do not match any case }
  74. n72=  }
  75. n73=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  76. n74=}
  77. n75=on *:TEXT:!resetbot1:#: {
  78. n76=  if ($nick == %owner) {
  79. n77=    if ($me == %bot1) {
  80. n78=      set %bot1 IKKE1
  81. n79=      ghostbot1
  82. n80=      nick IKKE1
  83. n81=      bot
  84. n82=    }
  85. n83=    elseif ($me == IKKE1) {
  86. n84=      set %bot1 IKKE1
  87. n85=    }
  88. n86=    elseif ($me != %bot2) { msg $chan 4ERROR: I do not match any case }
  89. n87=  }
  90. n88=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  91. n89=}
  92. n90=on *:TEXT:!resetbot2:#: {
  93. n91=  if ($nick == %owner) {
  94. n92=    if ($me == %bot2) {
  95. n93=      set %bot2 IKKE2
  96. n94=      ghostbot2
  97. n95=      nick IKKE2
  98. n96=      bot  
  99. n97=    }
  100. n98=    elseif ($me == IKKE2) {
  101. n99=      set %bot2 IKKE2
  102. n100=    }
  103. n101=    elseif ($me != %bot1) { msg $chan 4ERROR: I do not match any case }
  104. n102=  }
  105. n103=  elseif ($me == %bot1) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  106. n104=}
Add Comment
Please, Sign In to add comment