mIRC Home    About    Download    Register    News    Help

Print Thread
#259664 07/01/17 05:39 PM
Joined: Dec 2016
Posts: 16
H
Hazman Offline OP
Pikka bird
OP Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
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.

Joined: Jul 2016
Posts: 28
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Jul 2016
Posts: 28
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

Joined: Dec 2016
Posts: 16
H
Hazman Offline OP
Pikka bird
OP Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
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

Joined: Jul 2016
Posts: 28
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Jul 2016
Posts: 28
Sure go right ahead smile

Joined: Sep 2016
Posts: 2
V
Bowl of petunias
Offline
Bowl of petunias
V
Joined: Sep 2016
Posts: 2
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.

Joined: Jul 2016
Posts: 28
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Jul 2016
Posts: 28
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

Last edited by zapdos26; 09/01/17 06:06 PM.
Joined: Sep 2016
Posts: 2
V
Bowl of petunias
Offline
Bowl of petunias
V
Joined: Sep 2016
Posts: 2
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.

Joined: Jul 2016
Posts: 28
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Jul 2016
Posts: 28
I advise you to check your PMs


Link Copied to Clipboard