Ok, before anything, all info is in another thread of mine here:
[login to view URL]
-Pretty short thread as a whole, so just read through so you know what I'm talking about here.
Basically: How do I code a Twitch bot that receives commands from a Java bridge and then posts in the Channel chat based on the commands it receives?
Diagram: [login to view URL]
(Ignore the Twitter & LiveSplit parts for now)
What I'm doing is running an emulator for a Pokemon Yellow Speedrun bot (which runs by a Lua script). The bot runs perfectly fine. However, the Lua Console gives outputs based on what happens live in-game via the Lua bot script.
Example:
[login to view URL]
The outputs are the numbered ones, in the red squares. The other text I don't need to show up (except for when the game resets).
So....as the game plays, it gives outputs to the Lua script console (the commands I guess), which get pushed (or maybe pulled from?) to the Java Bridge (the code that connects to the Twitch chat bot), then the Twitch bot chats in the Channel each time a command is sent to the Bridge via LuaSocket.
Any ideas? Ugh. I need as much help as possible & good directions please!
Short version:
Here's exactly what I'm trying to do:
The script reset the game, the console logs it in the output. That message (console output) gets pushed through a LuaSocket, then to some Java bridge (which connects with the chat bot), and then the chat bot itself says the console output on chat by itself.
[login to view URL]