mIRC Home    About    Download    Register    News    Help

Print Thread
#248747 21/10/14 08:33 PM
Joined: Sep 2014
Posts: 5
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Sep 2014
Posts: 5
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: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Code:
on *:text:!viewers:#: msg # There are $nick(#,0) viewers in the chat.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Mar 2014
Posts: 52
P
Babel fish
Offline
Babel fish
P
Joined: Mar 2014
Posts: 52
$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