Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; connect to the server by IP address
- on *:START:{
- server -m 199.9.250.239 -z -i banhammer_bot
- }
- ;; enable debug logging as soon as it joined my chat
- on me:*:join:#lotsofs: {
- if ($me != banhammer_bot) { return } ;; If it is someone else joining my chat (myself, gongbot, some other account), do nothing
- raw twitchclient
- }
- ;; disable jtv spamming the bot with useless information
- on ^*:TEXT:USERCOLOR*:?: { halt }
- on ^*:TEXT:SPECIALUSER*:?: { halt }
- on ^*:TEXT:HISTORYEND*:?: { halt }
- on ^*:TEXT:EMOTESET*:?: { halt }
- ;; jtv notifies banhammer_bot of someone being kicked, banhammer_bot reports in #lotsofs
- on *:TEXT:CLEARCHAT*:?: {
- if ($me != banhammer_bot) { return } ;; do nothing if the report is sent to someone other than banhammer_bot (not really needed since, as we've seen earlier, the debugging isn't enabled for other users in the first place)
- msg #lotsofs Notification: $2
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement