Advertisement
paintbalbot

Untitled

May 8th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. on *:TEXT:!jokes 30:#:{
  2. if (!$read(reglist.txt,nw,$nick)) return
  3. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  4. elseif (%joke = off) {
  5. set -e %joke on
  6. msg $chan jokes will now play every 30 seconds. To stop say !jokes off
  7. .timerJokess 0 30 msg $chan $!read(jokes.txt)
  8. }
  9. }
  10. on *:TEXT:!jokes 60:#:{
  11. if (!$read(reglist.txt,nw,$nick)) return
  12. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  13. elseif (%joke = off) {
  14. set -e %joke on
  15. msg $chan jokes will now play every 60 seconds. To stop say !jokes off
  16. .timerJokess 0 60 msg $chan $!read(jokes.txt)
  17. }
  18. }
  19. on *:TEXT:!jokes 90:#:{
  20. if (!$read(reglist.txt,nw,$nick)) return
  21. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  22. elseif (%joke = off) {
  23. set -e %joke on
  24. msg $chan jokes will now play every 90 seconds. To stop say !jokes off
  25. .timerJokess 0 90 msg $chan $!read(jokes.txt)
  26. }
  27. }
  28. on *:TEXT:!jokes 120:#:{
  29. if (!$read(reglist.txt,nw,$nick)) return
  30. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  31. elseif (%joke = off) {
  32. set -e %joke on
  33. msg $chan jokes will now play every 120 seconds. To stop say !jokes off
  34. .timerJokess 0 120 msg $chan $!read(jokes.txt)
  35. }
  36. }
  37. on *:TEXT:!jokes 150:#:{
  38. if (!$read(reglist.txt,nw,$nick)) return
  39. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  40. elseif (%joke = off) {
  41. set -e %joke on
  42. msg $chan jokes will now play every 150 seconds. To stop say !jokes off
  43. .timerJokess 0 150 msg $chan $!read(jokes.txt)
  44. }
  45. }
  46. on *:TEXT:!jokes 180:#:{
  47. if (!$read(reglist.txt,nw,$nick)) return
  48. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  49. elseif (%joke = off) {
  50. set -e %joke on
  51. msg $chan jokes will now play every 180 seconds. To stop say !jokes off
  52. .timerJokess 0 180 msg $chan $!read(jokes.txt)
  53. }
  54. }
  55. on *:TEXT:!jokes 210:#:{
  56. if (!$read(reglist.txt,nw,$nick)) return
  57. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  58. elseif (%joke = off) {
  59. set -e %joke on
  60. msg $chan jokes will now play every 210 seconds. To stop say !jokes off
  61. .timerJokess 0 210 msg $chan $!read(jokes.txt)
  62. }
  63. }
  64. on *:TEXT:!jokes 240:#:{
  65. if (!$read(reglist.txt,nw,$nick)) return
  66. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  67. elseif (%joke = off) {
  68. set -e %joke on
  69. msg $chan jokes will now play every 240 seconds. To stop say !jokes off
  70. .timerJokess 0 240 msg $chan $!read(jokes.txt)
  71. }
  72. }
  73. on *:TEXT:!jokes 270:#:{
  74. if (!$read(reglist.txt,nw,$nick)) return
  75. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  76. elseif (%joke = off) {
  77. set -e %joke on
  78. msg $chan jokes will now play every 270 seconds. To stop say !jokes off
  79. .timerJokess 0 270 msg $chan $!read(jokes.txt)
  80. }
  81. }
  82. on *:TEXT:!jokes 300:#:{
  83. if (!$read(reglist.txt,nw,$nick)) return
  84. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  85. elseif (%joke = off) {
  86. set -e %joke on
  87. msg $chan jokes will now play every 300 seconds. To stop say !jokes off
  88. .timerJokess 0 300 msg $chan $!read(jokes.txt)
  89. }
  90. }
  91. on *:TEXT:!jokes 330:#:{
  92. if (!$read(reglist.txt,nw,$nick)) return
  93. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  94. elseif (%joke = off) {
  95. set -e %joke on
  96. msg $chan jokes will now play every 330 seconds. To stop say !jokes off
  97. .timerJokess 0 330 msg $chan $!read(jokes.txt)
  98. }
  99. }
  100. on *:TEXT:!jokes 360:#:{
  101. if (!$read(reglist.txt,nw,$nick)) return
  102. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  103. elseif (%joke = off) {
  104. set -e %joke on
  105. msg $chan jokes will now play every 360 seconds. To stop say !jokes off
  106. .timerJokess 0 360 msg $chan $!read(jokes.txt)
  107. }
  108. }
  109. on *:TEXT:!jokes 390:#:{
  110. if (!$read(reglist.txt,nw,$nick)) return
  111. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  112. elseif (%joke = off) {
  113. set -e %joke on
  114. msg $chan jokes will now play every 390 seconds. To stop say !jokes off
  115. .timerJokess 0 390 msg $chan $!read(jokes.txt)
  116. }
  117. }
  118. on *:TEXT:!jokes 420:#:{
  119. if (!$read(reglist.txt,nw,$nick)) return
  120. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  121. elseif (%joke = off) {
  122. set -e %joke on
  123. msg $chan jokes will now play every 420 seconds. To stop say !jokes off
  124. .timerJokess 0 420 msg $chan $!read(jokes.txt)
  125. }
  126. }
  127. on *:TEXT:!jokes 450:#:{
  128. if (!$read(reglist.txt,nw,$nick)) return
  129. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  130. elseif (%joke = off) {
  131. set -e %joke on
  132. msg $chan jokes will now play every 450 seconds. To stop say !jokes off
  133. .timerJokess 0 450 msg $chan $!read(jokes.txt)
  134. }
  135. }
  136. on *:TEXT:!jokes 480:#:{
  137. if (!$read(reglist.txt,nw,$nick)) return
  138. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  139. elseif (%joke = off) {
  140. set -e %joke on
  141. msg $chan jokes will now play every 480 seconds. To stop say !jokes off
  142. .timerJokess 0 480 msg $chan $!read(jokes.txt)
  143. }
  144. }
  145. on *:TEXT:!jokes 510:#:{
  146. if (!$read(reglist.txt,nw,$nick)) return
  147. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  148. elseif (%joke = off) {
  149. set -e %joke on
  150. msg $chan jokes will now play every 510 seconds. To stop say !jokes off
  151. .timerJokess 0 510 msg $chan $!read(jokes.txt)
  152. }
  153. }
  154. on *:TEXT:!jokes 540:#:{
  155. if (!$read(reglist.txt,nw,$nick)) return
  156. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  157. elseif (%joke = off) {
  158. set -e %joke on
  159. msg $chan jokes will now play every 540 seconds. To stop say !jokes off
  160. .timerJokess 0 540 msg $chan $!read(jokes.txt)
  161. }
  162. }
  163. on *:TEXT:!jokes 570:#:{
  164. if (!$read(reglist.txt,nw,$nick)) return
  165. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  166. elseif (%joke = off) {
  167. set -e %joke on
  168. msg $chan jokes will now play every 570 seconds. To stop say !jokes off
  169. .timerJokess 0 570 msg $chan $!read(jokes.txt)
  170. }
  171. }
  172. on *:TEXT:!jokes 600:#:{
  173. if (!$read(reglist.txt,nw,$nick)) return
  174. if (%joke = on) { msg $chan a joke is already running. Turn it off by saying "!jokes off" }
  175. elseif (%joke = off) {
  176. set -e %joke on
  177. msg $chan jokes will now play every 600 seconds. To stop say !jokes off
  178. .timerJokess 0 600 msg $chan $!read(jokes.txt)
  179. }
  180. }
  181.  
  182. on *:TEXT:!jokes off:#:{
  183. set -e %joke off
  184. msg $chan jokes are no longer playing
  185. .timerJokess off
  186. }
  187. on *:text:!jokes add *:#:{
  188. msg $chan adding the phrase " $$3- " to jokes
  189. write jokes.txt $$3-
  190. }
  191. on *:text:!jokes fix:#:{
  192. set -e %joke on
  193. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement