mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
D
Dog980
Dog980
D
Hey,
If I want to follow a channel, is there a way to do so via mIRC?
Any command or something?
Thanks laugh

Joined: May 2015
Posts: 245
S
Fjord artisan
Offline
Fjord artisan
S
Joined: May 2015
Posts: 245

D
Dog980
Dog980
D
How does this code work?
Which variables do I have to change?
Where do I put the name of the channel?

Thanks for helping smile

D
Dog980
Dog980
D
Anyone?

D
Dog980
Dog980
D
Can anyone help?

D
Dog980
Dog980
D
????????????????

Joined: May 2015
Posts: 245
S
Fjord artisan
Offline
Fjord artisan
S
Joined: May 2015
Posts: 245
If you still can not solve problems that can be solved with simple on-forum\google search, what are you going to do next when some real problems will appear?

D
Dog980
Dog980
D
Im new to this program, so I dont really understand most of the things.
If you can give me something to read so I can understand the code, it is also a good solution.
Thanks

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
You can read the mIRC Help file (/help) or visit this link to read more about the mSL.

D
Dog980
Dog980
D
I still didnt understand how to create a follow command..

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Have a look into this Twitch related code and may you will find out that you need for: http://hawkee.com/snippet/16487/

D
Dog980
Dog980
D
He says in there thats it in the twitch commands, but there is no link to a file on twitch commands

Joined: Apr 2010
Posts: 964
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 964
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.
D
Dog980
Dog980
D
I didnt understand this
What do I need to put in the window that pops up when I use:


Code:
/mTwitch.OAuth.Config

Thanks for helping

Joined: Apr 2010
Posts: 964
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 964
You will need to fill out this form: https://www.twitch.tv/kraken/oauth2/clients/new

The "Redirect URI" should be
Code:
http://localhost



Once you have configured the script. click save and close the popup box, then in mIRC enter the following:
Code:
/mTwitch.OAuth.Generate

Last edited by FroggieDaFrog; 21/06/16 03:02 PM.
D
Dog980
Dog980
D
I downloaded and loaded all 3 files you said into mIRC.
After this I filled the form in https://www.twitch.tv/kraken/oauth2/clients
and the form in the popup box.
Then I clicked save and closed it.
What do I need to do now?
And what do I replace the VALID_OAUTH_TOKEN_HERE with?

Thanks a lot for your help and time.

D
Dog980
Dog980
D
???

D
Dog980
Dog980
D
Can anyone help??

D
Dog980
Dog980
D
?????

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Quote:
Once you have configured the script. click save and close the popup box, then in mIRC enter the following:
Code:
/mTwitch.OAuth.Generate


Stop flooding and respect the timezone's!!

Did you do that the @FroggieDaFrog said you to do??

Page 1 of 2 1 2

Link Copied to Clipboard