mIRC Homepage

Viewer Count Command Help

Posted By: TheChainTV

Viewer Count Command Help - 21/10/14 08:33 PM

Okay I just want to learn how to make my bot count how many people are in the chat like when I type : !Viewers It will say " There are (?) In the Chat. It looks simple but I dont know any remote codes that can do it...
Posted By: Nillen

Re: Viewer Count Command Help - 21/10/14 09:52 PM

Code:
on *:text:!viewers:#: msg # There are $nick(#,0) viewers in the chat.
Posted By: patrickplays

Re: Viewer Count Command Help - 22/10/14 03:48 PM

$nick(#,0) are not the viewers though, only registered viewers who are in chat.
in order to get viewers you need to parse the information from twitch api
© 2022 mIRC Discussion Forums