Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.60 KB | None | 0 0
  1. dialog hottub {
  2. title "New Giveaway!"
  3. size -1 -1 140 80
  4. option dbu
  5. text "Channel:" 1, 20 10 30 10
  6. text "#Hot_Tub" 2, 50 10 30 10
  7. text "Prize:" 3, 20 30 100 10
  8. text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
  9. button "Yes" 5, 22 58 30 10, ok
  10. text "Given by:" 6, 20 20 30 10
  11. text "name:" 7, 50 20 90 10
  12. box "Join this giveaway?" 8, 15 50 100 20
  13. button "No" 9, 80 58 30 10, cancel
  14. text "Version 2.3" 10, 110 72 30 10
  15. text "Coded By Mark [1052508]" 11, 3 72 80 10
  16.  
  17. }
  18. on *:TEXT:!dip*:#hot_tub: {
  19. if (%dialog == on) {
  20. dialog -mt hottub hottub
  21. timertub 1 10 dialog -x hottub
  22.  
  23. if ($2- isnum) {
  24. /did -o hottub 4 1 $chr(36) $+ $comma($2-)
  25. }
  26. if ($2- !isnum) {
  27. /did -o hottub 4 1 $2-
  28. }
  29. /did -o hottub 7 1 $nick
  30. }
  31. }
  32. on *:DIALOG:hottub:sclick:5:{ timertub off | /join #hot_tub }
  33. on *:DIALOG:hottub:sclick:5:{ msg #Hot_Tub !splash }
  34.  
  35. alias comma {
  36. var %a, %b = $regsub($ticks,$1,/\G([+-]?\d+?)(?=(?:\d{3})++(?=\.\d++$|$))/g,\1 $+ $chr(44),%a)
  37. return %a
  38. }
  39.  
  40. alias giveaways {
  41. if ($1) {
  42. if ($1 == on) {
  43. /echo -a 10Dialog boxes for new giveaways are now turned on.
  44. /away 4If you think I'm auto joining giveaways I'm not. I'm using Mark's giveaway dialog box 2.2. It tells me who started the giveaway, the channel it's in, and the prize of the giveaway.
  45. set %dialog on
  46. }
  47. if ($1 == off) {
  48. /echo -a 10Dialog boxes for new giveaways are now turned off.
  49. set %dialog off
  50. /away
  51. }
  52. }
  53. }
  54. dialog thelounge1 {
  55. title "New Giveaway!"
  56. size -1 -1 140 80
  57. option dbu
  58. text "Channel:" 1, 20 10 30 10
  59. text "#TheLounge" 2, 50 10 30 10
  60. text "Prize:" 3, 20 30 100 10
  61. text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
  62. button "Yes" 5, 22 58 30 10, ok
  63. text "Given by:" 6, 20 20 30 10
  64. text "name:" 7, 50 20 90 10
  65. box "Join this giveaway?" 8, 15 50 100 20
  66. button "No" 9, 80 58 30 10, cancel
  67. text "Version 2.3" 10, 110 72 30 10
  68. text "Coded By Mark [1052508]" 11, 3 72 80 10
  69. }
  70. on *:TEXT:!give*:#thelounge: {
  71. if (%dialog == on) {
  72.  
  73. /dialog -mt thelounge1 thelounge1
  74. timerlounge 1 10 dialog -x thelounge1
  75.  
  76. if ($2- isnum) {
  77. /did -o thelounge1 4 1 $chr(36) $+ $comma($2-)
  78. }
  79. if ($2- !isnum) {
  80. /did -o thelounge1 4 1 $2-
  81. }
  82. /did -o thelounge1 7 1 $nick
  83. }
  84. }
  85. on *:DIALOG:thelounge1:sclick:5:{ timerlounge off | msg #thelounge !relax }
  86. on *:DIALOG:thelounge1:sclick:5:{ msg #thelounge !relax }
  87.  
  88.  
  89. dialog duckpond {
  90. title "New Giveaway!"
  91. size -1 -1 140 80
  92. option dbu
  93. text "Channel:" 1, 20 10 30 10
  94. text "#Duckpond" 2, 50 10 30 10
  95. text "Prize:" 3, 20 30 100 10
  96. text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
  97. button "Yes" 5, 22 58 30 10, ok
  98. text "Given by:" 6, 20 20 30 10
  99. text "name:" 7, 50 20 90 10
  100. box "Join this giveaway?" 8, 15 50 100 20
  101. button "No" 9, 80 58 30 10, cancel
  102. text "Version 2.3" 10, 110 72 30 10
  103. text "Coded By Mark [1052508]" 11, 3 72 80 10
  104.  
  105. }
  106. on *:TEXT:!prize*:#duckpond: {
  107. if (%dialog == on) {
  108.  
  109. dialog -mt duckpond duckpond
  110. timerduck 1 10 dialog -x duckpond
  111.  
  112. if ($2- isnum) {
  113. /did -o duckpond 4 1 $chr(36) $+ $comma($2-)
  114. }
  115. if ($2- !isnum) {
  116. /did -o duckpond 4 1 $2-
  117. }
  118. /did -o duckpond 7 1 $nick
  119. }
  120. }
  121. on *:DIALOG:duckpond:sclick:5:{ timerduck off | /join #duckpond }
  122. on *:DIALOG:duckpond:sclick:5:{ msg #duckpond !join }
  123. on *:DIALOG:freebies:sclick:5:{ timerfree off | /join #freebies }
  124. on *:DIALOG:freebies:sclick:5:{ msg #freebies !lotto }
  125. on *:DIALOG:giveaway:sclick:5:{ timergive off | /join #giveaway }
  126. on *:DIALOG:giveaway:sclick:5:{ msg #giveaway !lotto }
  127. on *:DIALOG:party:sclick:5:{ timerparty off | /join #party }
  128. on *:DIALOG:party:sclick:5:{ msg #party !lotto }
  129.  
  130.  
  131. on *:TEXT:!lottostart*:#: {
  132. if (%dialog == on) {
  133.  
  134. if ($chan == #freebies) {
  135. dialog -mt freebies freebies
  136. timerfree 1 10 dialog -x freebies
  137.  
  138. if ($2- isnum) {
  139. /did -o freebies 4 1 $chr(36) $+ $comma($2-)
  140. }
  141. if ($2- !isnum) {
  142. /did -o freebies 4 1 $2-
  143. }
  144. /did -o freebies 7 1 $nick
  145.  
  146. }
  147. if ($chan == #giveaway) {
  148. dialog -mt giveaway giveaway
  149. timergive 1 10 dialog -x giveaway
  150.  
  151. if ($2- isnum) {
  152. /did -o giveaway 4 1 $chr(36) $+ $comma($2-)
  153. }
  154. if ($2- !isnum) {
  155. /did -o giveaway 4 1 $2-
  156. }
  157. /did -o giveaway 7 1 $nick
  158.  
  159. }
  160. if ($chan == #party) {
  161. dialog -mt party party
  162. timerparty 1 10 dialog -x party
  163.  
  164. if ($2- isnum) {
  165. /did -o party 4 1 $chr(36) $+ $comma($2-)
  166. }
  167. if ($2- !isnum) {
  168. /did -o party 4 1 $2-
  169. }
  170. /did -o party 7 1 $nick
  171. }
  172. }
  173. }
  174. dialog giveaway {
  175. title "New Giveaway!"
  176. size -1 -1 140 80
  177. option dbu
  178. text "Channel:" 1, 20 10 30 10
  179. text "#Giveaway" 2, 50 10 30 10
  180. text "Prize:" 3, 20 30 100 10
  181. text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
  182. button "Yes" 5, 22 58 30 10, ok
  183. text "Given by:" 6, 20 20 30 10
  184. text "name:" 7, 50 20 90 10
  185. box "Join this giveaway?" 8, 15 50 100 20
  186. button "No" 9, 80 58 30 10, cancel
  187. text "Version 2.3" 10, 110 72 30 10
  188. text "Coded By Mark [1052508]" 11, 3 72 80 10
  189.  
  190. }
  191. dialog freebies {
  192. title "New Giveaway!"
  193. size -1 -1 140 80
  194. option dbu
  195. text "Channel:" 1, 20 10 30 10
  196. text "#Freebies" 2, 50 10 30 10
  197. text "Prize:" 3, 20 30 100 10
  198. text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
  199. button "Yes" 5, 22 58 30 10, ok
  200. text "Given by:" 6, 20 20 30 10
  201. text "name:" 7, 50 20 90 10
  202. box "Join this giveaway?" 8, 15 50 100 20
  203. button "No" 9, 80 58 30 10, cancel
  204. text "Version 2.3" 10, 110 72 30 10
  205. text "Coded By Mark [1052508]" 11, 3 72 80 10
  206.  
  207. }
  208. dialog party {
  209. title "New Giveaway!"
  210. size -1 -1 140 80
  211. option dbu
  212. text "Channel:" 1, 20 10 30 10
  213. text "#party" 2, 50 10 30 10
  214. text "Prize:" 3, 20 30 100 10
  215. text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
  216. button "Yes" 5, 22 58 30 10, ok
  217. text "Given by:" 6, 20 20 30 10
  218. text "name:" 7, 50 20 90 10
  219. box "Join this giveaway?" 8, 15 50 100 20
  220. button "No" 9, 80 58 30 10, cancel
  221. text "Version 2.3" 10, 110 72 30 10
  222. text "Coded By Mark [1052508]" 11, 3 72 80 10
  223.  
  224. }
  225. dialog playground {
  226. title "New Giveaway!"
  227. size -1 -1 140 80
  228. option dbu
  229. text "Channel:" 1, 20 10 30 10
  230. text "#Playground" 2, 50 10 35 10
  231. text "Prize:" 3, 20 30 100 10
  232. text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
  233. button "Yes" 5, 22 58 30 10, ok
  234. text "Given by:" 6, 20 20 30 10
  235. text "name:" 7, 50 20 90 10
  236. box "Join this giveaway?" 8, 15 50 100 20
  237. button "No" 9, 80 58 30 10, cancel
  238. text "Version 2.3" 10, 110 72 30 10
  239. text "Coded By Mark [1052508]" 11, 3 72 80 10
  240.  
  241. }
  242. on *:TEXT:!sit*:#playground: {
  243. if (%dialog == on) {
  244.  
  245. /dialog -mt playground playground
  246. timersit 1 10 dialog -x playground
  247.  
  248. if ($2- isnum) {
  249. /did -o playground 4 1 $chr(36) $+ $comma($2-)
  250. }
  251. if ($2- !isnum) {
  252. /did -o playground 4 1 $2-
  253. }
  254. /did -o playground 7 1 $nick
  255. }
  256. }
  257. on *:DIALOG:playground:sclick:5:{
  258. timersit off
  259. /join #playground
  260. }
  261. on *:DIALOG:playground:sclick5:{ msg #playground !push }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement