Splinny linked to a post containing EXACTLY what you are looking for:

Originally Posted By: paper0rplastic
Code:
alias followchan {
  var %json followput
  JSONOpen -duw %json https://api.twitch.tv/kraken/users/ $+ $lower($me) $+ /follows/channels/ $+ $lower($1)
  JSONUrlMethod %json PUT
  JSONUrlHeader %json Connection close
  JSONUrlHeader %json Accept application/vnd.twitchtv.v3+json


  ;; replace "VALID_OAUTH_TOKEN_HERE" with... a valid oauth token
  JSONUrlHeader %json Authorization OAuth VALID_OAUTH_TOKEN_HERE


  JSONUrlGet %json
}


You will need my json parser that can be found: HERE

You will also need a valid oauth token which is beyond the scope of your question. You can however download and load mTwitch.core.mrc and mTwitch.Oauth.mrc from HERE into mIRC and then in mIRC enter the following command to get an oauth token:

Code:
/mTwitch.OAuth.Config


--

People linked all of this to you. They weren't being butts about it, but directing you. Why did you choose to ignore each of them?

Last edited by FroggieDaFrog; 21/06/16 01:27 PM.

I am SReject
My Stuff