Twitch chatbot - how to check if someone is a sub - 30/08/15 08:03 PM
I'm making a command to add a persons name to a list for subscriber games-
where i put "isSub" i want to check whether or not the user is a subscriber to that channel. How can I do this?
Code:
on *:TEXT:!subgames:#: { if ((%floodSUB) || ($($+(%,floodSUB.,$nick),2))) { return } set -u15 %floodSUB On set -u15 %floodSUB. $+ $nick On if ($nick == isSub) { msg $chan $nick has been added to sub-game list. write subgamelist.txt $nick $+ } }
where i put "isSub" i want to check whether or not the user is a subscriber to that channel. How can I do this?