mIRC Home    About    Download    Register    News    Help

Print Thread
#248747 21/10/14 08:33 PM
T
TheChainTV
TheChainTV
T
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...

Joined: Dec 2013
Posts: 771
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 771
Code:
on *:text:!viewers:#: msg # There are $nick(#,0) viewers in the chat.

P
patrickplays
patrickplays
P
$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


Link Copied to Clipboard