Hey Guys, I've spent the last hour trying to figure this out, and I seem to be getting nowhere.
I've got a custom twitch bot, and the Mod commands have stopped working, so I've re-written them, but, I can't seem to get the code to recognise when the bot is moderated in the channel.
The code I'm using is:
on *:TEXT:!purge *:#: {
if ($nick isop #) { | if (eggbot_v1 !isop #) ( | .msg # I am currently not a moderator of the chat. To use these commands, please make me a moderator. | return } | { if ($$2 isop #) { .msg # This user is a moderator of the chat. I am unable to purge them | return } | else { .msg # /timeout $$2 1 | .msg # User: $$2 has been purged | /splay kick-mark.mp3 } } }
Once the bot is moderated, it's still displaying the Not a moderator text, and not following the code correctly.
If anyone can help, you'd be a lifesaver, as I need the bot to be working again lol
-Eggy