mIRC Homepage
Is there a command to display when a twitch viewer clicks on my follow button? Thanks in advance
There's no built-in command in mIRC for this, but there is a way to do it:

Originally Posted By: Loki12583
If you have not done so already, register an application here: http://www.twitch.tv/settings/connections, for your redirect url use http://localhost/, you will need your client id to request an oath token (which this script can retrieve by itself). Utilize the right click menu (from your channel) to input the client id of your application and then to request the token. If you have a separate account running a bot you should register the application under your bot, and then login as your normal user in order to request the token.

Dependencies:
$json: http://www.mircscripts.org/comments.php?cid=4407
SSL: http://www.mirc.com/ssl.html

Source: https://gist.github.com/memnochxx/5676bef5707a8019f0ca

In general you'll create an alias to open the socket and a signal to handle the response. I've just created these to allow you to follow a channel. Changing the current game uses the same call as the topic, so check that section out to use as a template.

You may come across scopes that the script currently does not request. Just add it to scope_request in twitch.ini and request/renew your token.
Try use this addon: http://hawkee.com/snippet/16083/
Westor, thank you for this script. I have slightly modified it to suit my needs. I removed lines 98-105, and changed the ON *:PART and ON *:JOIN a little. It works very well for me. My modified script is here: modified follower script What I was wondering is, how could I save the followers hash table to a file on PART and reload it on JOIN? I am pretty new to mIRC scripting and trying to achieve this on my own makes my head hurt. confused Any help would be appreciated.

EDIT: I figured it out laugh Thx anyway.
© mIRC Discussion Forums