Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. Aliases
  2. endmonth {
  3. /set %monthwinner $read(monthlotto.txt)
  4. //echo -a %monthwinner is the winner
  5. }
  6. endweek {
  7. /set %weekwinner $read(weeklotto.txt)
  8. //echo -a %weekwinner is the winner
  9. }
  10. saymonthwinner {
  11. //say !endmonthlotto
  12. //say This Months lotto has now ended. The winner of this month is %monthwinner $+ .
  13. }
  14. sayweekwinner {
  15. //say !endweeklotto
  16. //say This weeks lotto has now ended. The winner of this Week is %weekwinner $+ .
  17. }
  18. on *:TEXT:!lottoinfo:*: {
  19. /msg $nick There will be Multiple lotto drawings every month. The Bi-Monthly drawing will occur On or around the 1st and 15th of every Month. and the Monthly drawing will occur on the 15th of Every Month!
  20. /msg $nick type !prizes for the Current Prizes. Remember to stay in #chat to see if you win! Winners Will NOT be notified but will be posted in the channels topic. To enter simply go to #chat by typing /join #chat and type !lotto and you will be entered in the bi-Monthly lotto. type !month for the monthly drawing.
  21. }
  22. on *:TEXT:!prizes:*: {
  23. /msg $nick The Current Bi-Monthly Prize is: 1-Month Runescape Membership Pin. Go to #chat and type !lotto to enter!!!
  24. /msg $nick The Current Monthly Grand Prize is: $ 20 Paypal Transfer or a Membership of your choice up to and including 3 - Month Runescape Membership(limit 20$ Cost) Go to #chat and type !month to enter
  25. }
  26. on *:TEXT:!prize:*: {
  27. /msg $nick The Current Bi-Monthly Prize is: 1-Month Runescape Membership Pin. Go to #chat and type !lotto to enter!!!
  28. /msg $nick The Current Monthly Grand Prize is: $ 20 Paypal Transfer or a Membership of your choice up to and including 3 - Month Runescape Membership(limit 20$ Cost) Go to #chat and type !month to enter
  29. }
  30. on *:TEXT:!vent:#redbladehunters: { if ( $nick isvoice #redbladehunters ) || ( $nick ishop #redbladehunters ) || ($nick isop #redbladehunters ) {
  31. /notice $nick the Connect info for the ventrilo is ip: NewYork.maxfrag.net Port:3996
  32. }
  33. else { HALT }
  34. }
  35. on *:TEXT:!vent:#chat: { if ( $nick isvoice #chat ) || ( $nick ishop #chat ) || ( $nick isop #chat ) {
  36. /notice $nick the Connect info for the ventrilo is ip: NewYork.maxfrag.net Port:3996
  37. }
  38. else { HALT }
  39. }
  40. on *:text:!lotto:#:{
  41. if ($chan == #chat) {
  42. if (!%chatweeklotto. [ $+ [ $address($nick,2) ] ]) {
  43. set %chatweeklotto. [ $+ [ $address($nick,2) ] ] $true
  44. /write weeklotto.txt $nick
  45. /notice $nick Congratulations, You have been added into the Bi Monthly #Chat Lotto, Please stay active to have a chance at the winnings.
  46. }
  47. elseif (%chatweeklotto. [ $+ [ $address($nick,2) ] ] == $true) {
  48. /notice $nick You have already been entered for this weeks lotto.
  49. }
  50. }
  51. }
  52. on *:input:*: {
  53. if (!startweeklotto == $1) {
  54. if ($nick == fultec) || ($nick == `{chris}) || ($nick == Pudding) || ($nick == abot) {
  55. if ($chan == #chat) {
  56. /msg $chan This weeks lotto has now began, You can now say !lotto to enter yourself into the drawling.
  57. }
  58. }
  59. }
  60. if (!endweeklotto == $1) {
  61. if ($nick == fultec) || ($nick == `{chris}) || ($nick == Pudding) || ($nick == abot) {
  62. if ($chan == #chat) {
  63. //msg $chan This weeks lotto has now ended. The winner of this week is %weekwinner $+ .
  64. }
  65. }
  66. }
  67. if (!resetweeklotto == $1) {
  68. if ($nick == fultec) || ($nick == `{chris}) || ($nick == Pudding) || ($nick == abot) {
  69. if ($chan == #chat) {
  70. /echo -a Reseting Lotto Names
  71. /unset %chatweeklotto.*
  72. /write -c weeklotto.txt
  73. }
  74. }
  75. }
  76. }
  77. on *:text:!month:#:{
  78. if ($chan == #chat) {
  79. if (!%chatmonthlotto. [ $+ [ $address($nick,2) ] ]) {
  80. set %chatmonthlotto. [ $+ [ $address($nick,2) ] ] $true
  81. /write monthlotto.txt $nick
  82. /notice $nick Congratulations, You have been added into the Monthly #Chat Lotto, Please stay active to have a chance at the winnings.
  83. }
  84. elseif (%chatweeklotto. [ $+ [ $address($nick,2) ] ] == $true) {
  85. /notice $nick You have already been entered for this months lotto.
  86. }
  87. }
  88. }
  89. on *:input:*: {
  90. if (!startmonthlotto == $1) {
  91. if ($nick == fultec) || ($nick == `{chris}) || ($nick == Pudding) || ($nick == abot) {
  92. if ($chan == #chat) {
  93. /msg $chan This Months lotto has now began, You can now say !month to enter yourself into the drawling.
  94. }
  95. }
  96. }
  97. if (!endmonthlotto == $1) {
  98. if ($nick == fultec) || ($nick == `{chris}) || ($nick == Pudding) || ($nick == abot) {
  99. if ($chan == #chat) { /set %monthwinner $read(monthlotto.txt)
  100. }
  101. }
  102. }
  103. if (!monthwinner == $1) {
  104. if ($nick == fultec) || ($nick == `{chris}) || ($nick == Pudding) || ($nick == abot) {
  105. if ($chan == #chat) {
  106. //msg $chan This Months lotto has now ended. The winner of this month is %monthwinner $+ .
  107. }
  108. }
  109. }
  110. if (!resetmonthlotto == $1) {
  111. if ($nick == fultec) || ($nick == `{chris}) || ($nick == Pudding) || ($nick == abot) {
  112. if ($chan == #chat) {
  113. /echo -a Reseting Monthly Lotto Names
  114. /unset %chatmonthlotto.*
  115. /write -c monthlotto.txt
  116. }
  117. }
  118. }
  119. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement