Advertisement
LotsOfS

banhammer_bot code new

May 9th, 2014
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. ;; join the channel
  2. on *:START:{
  3. server -m 199.9.250.239 -z -i banhammer_bot
  4. }
  5.  
  6.  
  7. ;; detect whether the bot joined it's monitoring channel, if so, enable twitchclient 3 chat debug.
  8. on me:*:join:#lotsofs: {
  9. if ($me != banhammer_bot) { return }
  10. raw twitchclient 3
  11. }
  12.  
  13.  
  14. ;; notify of a ban message
  15. on *:TEXT:CLEARCHAT*:*: {
  16. if (($nick == jtv) || ($nick == lotsofs)) {
  17. if ($me != banhammer_bot) { return }
  18. msg #lotsofs Notification: $2
  19. }
  20. }
  21.  
  22. ;; notify of a subscription message
  23. on *:TEXT:* just subscribed!:*: {
  24. if (($nick == twitchnotify) || ($nick == lotsofs)) {
  25. if ($me != banhammer_bot) { return }
  26. msg #lotsofs New Subscriber: $1
  27. }
  28. }
  29.  
  30. ;; don't display any other useless chat debug messages (not only applies to banhammer_bot)
  31. on ^*:TEXT:USERCOLOR*:*: { if ($nick == jtv) { halt } }
  32. on ^*:TEXT:SPECIALUSER*:*: { if ($nick == jtv) { halt } }
  33. on ^*:TEXT:HISTORYEND*:*: { if ($nick == jtv) { halt } }
  34. on ^*:TEXT:EMOTESET*:*: { if ($nick == jtv) { halt } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement