mIRC Homepage
Posted By: Hazman Twitch Sub Script Help! - 07/01/17 05:39 PM
Hello, I am having a problem getting this script to work http://pastebin.com/YLaTgtSX If anyone could check it out and see what the problem could be I'd appreciate it.
Posted By: zapdos26 Re: Twitch Sub Script Help! - 09/01/17 12:35 AM
To detect new subscriptions:
Code:
on *:text:*just subscribed*:#:{
     if ($nick == twitchnotify) && ($4 != to) { 
         Insert rest of code here 
   }
}

To detect resubs:
Code:
raw USERNOTICE:*:{
   if (resub isin $msgtags) {
       Insert Code Here
   }
}

Use the $msgtags(display-name).key for username and $msgtags(msg-param-months).key for amount of months subbed.
You need to also need to raw CAP REQ :twitch.tv/tags on connect smile
Posted By: Hazman Re: Twitch Sub Script Help! - 09/01/17 02:31 AM
Thanks I appreciate it, I'm new to mirc client's so it's hard for me to get the right sub script, if I have any more problems I'll pm you if that's fine with you? smile
Posted By: zapdos26 Re: Twitch Sub Script Help! - 09/01/17 02:59 AM
Sure go right ahead smile
Posted By: Vecun Re: Twitch Sub Script Help! - 09/01/17 04:01 PM
Hi Zapdos26,

I make a query, where is the client ID? I am about to upload your scripts mIRC - Twitchbot - Windows And I would like to know where I get the ID to put it in the script that links it.
Posted By: zapdos26 Re: Twitch Sub Script Help! - 09/01/17 05:30 PM
Instructions on how to get a client ID can be found here: https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843#.i96cq1if5
Btw now that you mentioned it, the newest version has the instruction on the top smile
Posted By: Vecun Re: Twitch Sub Script Help! - 10/01/17 03:31 AM
Thanks @zapdos26,

But the truth that I do not understand much of this and the subject of the Client-ID I am new to this, I would appreciate it very much if you could give me some of your help.
Posted By: zapdos26 Re: Twitch Sub Script Help! - 10/01/17 03:53 PM
I advise you to check your PMs
© mIRC Discussion Forums