mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2014
Posts: 107
M
Majeye Offline OP
Vogon poet
OP Offline
Vogon poet
M
Joined: Jan 2014
Posts: 107
Would it be possible to turn these into actual commands for a Twitch bot? (I'm sure it is, I just don't know how to incorporate an API into commands)

http://www.reddit.com/r/dawngate/comments/1vtbu1/mobachampion_nightbot_api_for_streamers/

Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Looks like you got your answer 6 months ago.
Quote:
You just need to load the end point and specify a shaper, item, spell, etc.
i.e.
http://moba-champion.com/api/NightBot/shaper.php?shaper=Raina
Returns:
Raina The Archivist (Melee Tank) http://moba-champion.com/shapers/raina

which means if you want to get to the Shaper known as Raina you'd use http://moba-champion.com/api/NightBot/shaper.php?shaper= $+ $2 (assuming you'd use !shaper Raina) to pull info from. Read up on sockets or look around in other threads, seen tons of socket threads recently.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Jan 2014
Posts: 107
M
Majeye Offline OP
Vogon poet
OP Offline
Vogon poet
M
Joined: Jan 2014
Posts: 107
Originally Posted By: Nillen
Looks like you got your answer 6 months ago.
Quote:
You just need to load the end point and specify a shaper, item, spell, etc.
i.e.
http://moba-champion.com/api/NightBot/shaper.php?shaper=Raina
Returns:
Raina The Archivist (Melee Tank) http://moba-champion.com/shapers/raina

which means if you want to get to the Shaper known as Raina you'd use http://moba-champion.com/api/NightBot/shaper.php?shaper= $+ $2 (assuming you'd use !shaper Raina) to pull info from. Read up on sockets or look around in other threads, seen tons of socket threads recently.


Meh I didn't understand that previous answer.. I'm completely new to mIRC/sockets.. I've been learning.. but its been a slow process.


Link Copied to Clipboard