Advertisement
Guest User

meh

a guest
Jan 13th, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.49 KB | None | 0 0
  1. //Flood Protected Public Commands ###
  2.  
  3. on *:text:!missedstream:#: {
  4. if ((%floodmissed) || ($($+(%,floodmissed.,$2),2))) { return }
  5. set -u10 %floodmissed On
  6. msg $chan Awww $nick $+ , don't be sad! You can watch all the streams back here on Twitch! http://www.twitch.tv/mazionplaysgames/profile/past_broadcasts
  7. }
  8.  
  9. on *:text:!sl1p:#: {
  10. if ((%floodSl1pg8r) || ($($+(%,floodSl1pg8r.,$2),2))) { return }
  11. set -u10 %floodSl1pg8r On
  12. msg $chan YES!!! YES YES YES!!!! Mazion IS the brother of Sl1pg8r. Mazion is the younger one. Any other personal information about Sl1pg8r asked will be ignored.
  13. }
  14.  
  15. on *:text:!Donate:#: {
  16. if ((%floodDonate) || ($($+(%,floodDonate.,$2),2))) { return }
  17. set -u10 %floodDonate On
  18. msg $chan Want to help support Mazion? Awesome! To donate, click the following link: https://www.twitchalerts.com/donate/mazionplaysgames
  19. }
  20.  
  21. on *:text:!Patreon:#: {
  22. if ((%floodPatreon) || ($($+(%,floodPatreon.,$2),2))) { return }
  23. set -u10 %floodPatreon On
  24. msg $chan Want to help support Mazion on a monthly basis? AMAZIONING! To become a patreon, click the following link: https://www.patreon.com/mazion
  25. }
  26.  
  27. on *:text:!Dave:#: {
  28. if ((%flooddave) || ($($+(%,flooddave.,$2),2))) { return }
  29. set -u10 %flooddave On
  30. msg $chan R.I.P. Dave, good ol' Dave lived up to the age of 3 seconds. You will be missed. <3
  31. }
  32.  
  33. on *:text:!commands:#: {
  34. if ((%floodcommands) || ($($+(%,floodcommands.,$2),2))) { return }
  35. set -u10 %floodcommands On
  36. msg $chan Here you go $nick $+ , the list of all available commands! http://bit.ly/1YsDNI1
  37. }
  38.  
  39.  
  40. //Moderator Commands ###
  41.  
  42. on *:TEXT:!shoutout *:#: {
  43. if ($nick !isop #) { return }
  44. if ((%floodshout) || ($($+(%,floodshout.,$2),2))) { return }
  45. set -u10 %floodshout On
  46. if ($nick isop #) { msg $chan $$2 $+ , you are AMAZIONING! We always have an excellent time with you here!
  47. }
  48. }
  49.  
  50. on *:text:!specs:#:{
  51. if ($nick !isop #) { return }
  52. if ((%floodspecs) || ($($+(%,floodspecs.,$2),2))) { return }
  53. set -u10 %floodspecs On
  54. if ($nick isop #) { msg $chan *Computer Specs* <i7-920 2.66GHz processor> <12GB DDR3 1600MHz ram> <Nvidia GTX770 Video Card> <Samsung EVO 850 SSD> <Several other SSDs and HDDs> <Razor Naga Mouse> <Apple Keyboard> <AT2005USB>
  55. }
  56. }
  57.  
  58. ///////////////////////////////on *:text:!periph:#: {
  59. if ($nick !isop #) { return }
  60. if ((%floodperiph) || ($($+(%,floodperiph.,$2),2))) { return }
  61. set -u10 %floodperiph On
  62. if ($nick isop #) { msg $chan *Peripherals*
  63. }
  64. }
  65.  
  66. ///////////////////////////////on *:text:!software:#: {
  67. if ($nick !isop #) { return }
  68. if ((%floodsoft) || ($($+(%,floodsoft.,$2),2))) { return }
  69. set -u10 %floodsoft On
  70. if ($nick isop #) { msg $chan *Software* <Streaming Software: OBS> <Capture Software: Dxtory / Fraps> <Editing Software: Sony Vegas>
  71. }
  72. }
  73.  
  74. on *:text:!links:#: {
  75. if ($nick !isop #) { return }
  76. if ((%floodlinks) || ($($+(%,floodlinks.,$2),2))) { return }
  77. set -u10 %floodlinks On
  78. if ($nick isop #) { msg $chan Check out Mazion at all these links: YouTube: https://www.youtube.com/user/mazionplaysgames - Twitter: https://twitter.com/mazion1 - Facebook: https://www.facebook.com/mazionplaysgames - Instagram https://instagram.com/mazionplaysgames - Patreon: https://www.patreon.com/mazion - Donate: twitchalerts.com/donate/mazionplaysgames
  79. }
  80. }
  81.  
  82. ///////////////////////////////on *:text:!sub:#: {
  83. if ($nick !isop #) { return }
  84. if ((%floodsub) || ($($+(%,floodsub.,$2),2))) { return }
  85. set -u10 %floodsub On
  86. if ($nick isop #) { msg $chan Want to subscribe to Mazion on Twitch and support him? Go to: https://secure.twitch.tv/products/mazionplaysgames/ticket/new?ref=below_video_subscribe_button However, if you are on the Twitch App, you can NOT subscribe. You have to subscribe via the desktop version of Twitch. Sorry!
  87. }
  88. }
  89.  
  90. on *:text:!rules:#: {
  91. if ($nick !isop #) { return }
  92. if ((%floodrules) || ($($+(%,floodrules.,$2),2))) { return }
  93. set -u10 %floodrules On
  94. if ($nick isop #) { msg $chan Common sense. Also see: https://en.wikipedia.org/wiki/Common_Sense_
  95. }
  96. }
  97.  
  98. on *:TEXT:!ip:#: {
  99. if ($nick !isop #) { return }
  100. if ((%floodip) || ($($+(%,floodip.,$2),2))) { return }
  101. set -u10 %floodip On
  102. if ($nick isop #) { msg $chan Mazion plays mostly on private whitelisted servers. The IP is not available, sorry!
  103. }
  104. }
  105.  
  106. on *:text:!emap:#: {
  107. if ($nick !isop #) { return }
  108. if ((%floodmap) || ($($+(%,floodmap.,$2),2))) { return }
  109. set -u10 %floodmap On
  110. if ($nick isop #) { msg $chan Want to let Mazion know where you EXCELLENT people come from? Let him know and mark your location(doesn't have to be precise) on the map at: https://www.zeemaps.com/map?group=1624866&add=1
  111. }
  112. }
  113.  
  114. on *:text:!follow:#: {
  115. if ($nick !isop #) { return }
  116. if ((%floodfollow) || ($($+(%,floodfollow.,$2),2))) { return }
  117. set -u10 %floodfollow On
  118. if ($nick isop #) { msg $chan Haven't followed Mazion here on Twitch yet? You are missing out on all his streams! Quick, hit that follow button!
  119. }
  120. }
  121.  
  122. ///////////////////////////////on *:text:!COMMAND:#: {
  123. if ($nick !isop #) { return }
  124. if ((%floodCMDNAME) || ($($+(%,floodCMDNAME.,$2),2))) { return }
  125. set -u10 %floodCMDNAME On
  126. if ($nick isop #) { msg $chan MSG
  127. }
  128. }
  129.  
  130.  
  131. //Counters ###
  132.  
  133. on *:TEXT:!Excellent:#: {
  134. if (%floodexcellent) { return }
  135. set -u10 %excellent On
  136. if ($chan == #mazionplaysgames) {
  137. inc %countexcellent 1
  138. /msg $chan Chat has found Mazion to be excellent %countexcellent times!
  139. }
  140. }
  141.  
  142. on *:TEXT:!fire:#: {
  143. if (%floodfire) { return }
  144. set -u10 %floodfire On
  145. if ($chan == #mazionplaysgames) {
  146. inc %countfire 1
  147. /msg $chan Chat has killed something with fire %countfire times.
  148. }
  149. }
  150.  
  151.  
  152. ///////////////////////////////on *:TEXT:!COUNTER:#: {
  153. if (%floodCNTNAME) { return }
  154. set -u10 %floodCNTNAME On
  155. if ($chan == #mazionplaysgames) {
  156. inc %countCNTNAME 1
  157. /msg $chan MSG %countCNTNAME times.
  158. }
  159. }
  160.  
  161.  
  162. //Uptime ###
  163.  
  164. on *:text:!uptime*:#:{
  165. if ((%flooduptime) || ($($+(%,flooduptime.,$2),2))) { return }
  166. set -u10 %flooduptime On
  167. set %target $iif($2,$2,$mid(#,2-))
  168. set %channel #
  169. uptime
  170. }
  171.  
  172. alias uptime {
  173. sockclose uptime
  174. sockopen uptime nightdev.com 80
  175. }
  176.  
  177. on *:sockopen:uptime:{
  178. if ($sockerr) { sockclose $sockname | halt }
  179. sockwrite -n $sockname GET /hosted/uptime.php?channel= $+ %target HTTP/1.1
  180. sockwrite -n $sockname Host: www.nightdev.com
  181. sockwrite -n $sockname $crlf
  182. }
  183.  
  184. on *:sockread:uptime:{
  185. if ($sockerr) { sockclose $sockname | halt }
  186. var %delmessage = $deltok($1-, 5-30, 32)
  187. var %online $remove(%delmessage,- Oh)
  188. var %data
  189. sockread %data
  190. tokenize 32 %data
  191. if ($1 isnum) && ($2) { msg %channel %target has been online for $1- }
  192. elseif (%data == The channel is not live.) msg %channel %target is currently not online.
  193. }
  194. on *:sockclose:uptime:{
  195. unset %channel
  196. unset %target
  197. }
  198.  
  199. on *:sockopen:uptime:{
  200. if ($sockerr) { sockclose $sockname | halt }
  201. sockwrite -n $sockname GET /hosted/uptime.php?channel= $+ %target HTTP/1.1
  202. sockwrite -n $sockname Host: www.nightdev.com
  203. sockwrite -n $sockname $crlf
  204. }
  205.  
  206. on *:sockread:uptime:{
  207. if ($sockerr) { sockclose $sockname | halt }
  208. var %delmessage = $deltok($1-, 5-30, 32)
  209. var %online $remove(%delmessage,- Oh)
  210. var %data
  211. sockread %data
  212. tokenize 32 %data
  213. if ($1 isnum) && ($2) { msg %channel %target has been online for $1- }
  214. elseif (%data == The channel is not live.) msg %channel %target is currently not online.
  215. }
  216.  
  217. on *:sockclose:uptime:{
  218. unset %channel
  219. unset %target
  220. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement