mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2015
Posts: 3
B
B3J Offline OP
Self-satisified door
OP Offline
Self-satisified door
B
Joined: Aug 2015
Posts: 3
I'm making a command to add a persons name to a list for subscriber games-
Code:
 on *:TEXT:!subgames:#: {
   if ((%floodSUB) || ($($+(%,floodSUB.,$nick),2))) { return }
  set -u15 %floodSUB On
  set -u15 %floodSUB. $+ $nick On
  
  if ($nick == isSub) {
  msg $chan $nick has been added to sub-game list.
  write subgamelist.txt $nick $+
  }
 }


where i put "isSub" i want to check whether or not the user is a subscriber to that channel. How can I do this?

Joined: Sep 2015
Posts: 1
T
Mostly harmless
Offline
Mostly harmless
T
Joined: Sep 2015
Posts: 1
You have to get this info from the Twitch API.

Check the twitch API documentation.

Twitch Sockread Script for mIRC



Also, this thread might help you out wink

Last edited by torriz; 03/09/15 11:30 AM.
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Have a look into this project, it has everything you want for Twitch: http://hawkee.com/snippet/16487/


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard