mIRC Homepage
Posted By: Deerayn So I have a dream - 04/02/16 04:13 PM
Hi again, so I have a dream to make this script laugh. I saw some tutorial with Python, and my question is it possible make this with Mirc?

Example: Make script with Riot Games API.
-Streamer starts League of legends game.
-Bot write in chat "Games started please place your bets, who will win? Streamer or Enemy" (timer 30secs~)
-People starts betting with points (!bet streamer [amount] | !bet enemy [amount] )
-Bot: Betting closed
-Game ends
-Bot: Winner is Streamer ( And give 2x points who placed bets on streamer )
Posted By: nanito Re: So I have a dream - 04/02/16 06:47 PM
That was possible to do before the ban of unofficial api.

After the ban (and the launch of offical api from riot), the irc dev community for lol is largely gone.

So, keep dreaming with riot games.
Posted By: SchmantFRED Re: So I have a dream - 05/02/16 12:20 PM
its still possible. my script i wrote is still working but i spend alot of time on it and wont give it fo free at all
thats what my bot response in the Chat (yeah its german)

Start of the Game:
Quote:
<@fredsminimi> /me Das Wetten für das Spiel können platziert werden! (!bet win/lose Betrag)
<@fredsminimi> /me Ihr könnt noch 3 Minuten wetten! (!bet win/lose Betrag)
<@fredsminimi> /me Die Quote für Win beträgt: 1.0
<@fredsminimi> /me Die Quote für Lose beträgt: 1.0
<@raymd> !bet lose 800
<@fredsminimi> /me raymd wurde mit 800 Hartgeld eingetragen
<@fredsminimi> /me Die letzte Minuten zum Wetten läuft! (!bet win/lose Betrag)
<@fredsminimi> /me Die Wettzeit ist um! Viel Glück an alle Teilnehmer!

After the Game:
Quote:
<@fredsminimi> /me Die Gewinne werden berechnet und nach Rückantwort der Riot API ausgezahlt!
<@fredsminimi> /me Die Gewinne (für das Spiel Caitlyn(K:10|D: 5)) wurden alle ausgezahlt!
© mIRC Discussion Forums