mIRC Home    About    Download    Register    News    Help

Print Thread
[Twitch] Need help with a script. Announce #257704 09/05/16 08:12 AM
Joined: Mar 2016
Posts: 50
T
TUSK3N Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Mar 2016
Posts: 50
Hello, I would like my bot to announce when a stream goes live in my chat

ex
ATTENTION! [twitch name] just went live [Title]


I found this script but it doesnt work can someone help?
the .chaninfo is not working either it just says the stream is offline.

http://hawkee.com/snippet/16166/

Re: [Twitch] Need help with a script. Announce [Re: TUSK3N] #257707 09/05/16 01:43 PM
Joined: Sep 2014
Posts: 259
S
Sakana Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2014
Posts: 259
Use the JSON for mIRC script on the twitch API. Make an alias that checks if the stream is live by seeing if it has a title, for example. Then just put that alias on a timer to check every minute or whatever, and stop it once the stream is live