mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
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: 249
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249


Dont give a fish - teach to fish!
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
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

Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Anyone?

Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Can anyone help?

Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
????????????????

Joined: May 2015
Posts: 249
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
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?


Dont give a fish - teach to fish!
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
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,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
You can read the mIRC Help file (/help) or visit this link to read more about the mSL.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
I still didnt understand how to create a follow command..

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


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
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: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
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
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
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: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
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.

I am SReject
My Stuff
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
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.

Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
???

Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Can anyone help??

Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
?????

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
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??


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

Link Copied to Clipboard