Splinny linked to a post containing EXACTLY what you are looking for:
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:
HEREYou 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:
--
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?