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 <-
Joined: Sep 2013
Posts: 61
E
Babel fish
Offline
Babel fish
E
Joined: Sep 2013
Posts: 61
@dog980 All of the posts that you have put up on the mIRC Forums have been demanding answers immediately. Some things may require a bit more work from you, people are not just going to give you the code. I've been coding on mIRC for the last 6 months, and there are things that I need to ask about, but I won't spam the forums for an answer, as the people that are online, may not know the answer, but you need to at least read the /help files, and look at other forum posts to get your answer.

If, once you've tried the help files, and looking at all options that you've tried, then feel free to post on the forums again, and then wait for the answer, but people won't help you, unless you actually post the coding that you've built using the help given and the /help files, because it shows you've tried.

Rant Over


Twitch Live-Streamer:
Synth Riders
Beat Saber
www.twitch.tv/eggfriedcheese
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Yes, It said it doesnt recognize the command.

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Probably you didn't make something correct, you can check more here


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
After I finish doing all of this and enter the generate command, it says this:

* /socklisten: port error (line 50, mTwitch.OAuth.mrc)
LUSERS unknown command

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
You can report this problem here that according to this project and wait for author answer.


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
Does anyone here find a solution?

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
@Dog980 you are still flooding the forum... did you follow up my previous post ?


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 thought I can also recieve an answer here

Page 1 of 2 1 2

Link Copied to Clipboard