mIRC Home    About    Download    Register    News    Help

Print Thread
Viewer Count Command Help #248747 21/10/14 08:33 PM
Joined: Sep 2014
Posts: 5
T
TheChainTV Offline OP
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...

Re: Viewer Count Command Help [Re: TheChainTV] #248749 21/10/14 09:52 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
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
Re: Viewer Count Command Help [Re: Nillen] #248759 22/10/14 03:48 PM
Joined: Mar 2014
Posts: 52
P
patrickplays Offline
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