Short version:
Here's exactly what I'm trying to do:
The Lua script outputs action that happen in real-time on the game, output is logged in the Lua Console. The console output gets pushed through a LuaSocket, then to a Java bridge (which connects with the [login to view URL] chat bot), and then the chat bot itself says the console output on chat by itself. **PLEASE LOOK AT THE PIC BELOW**
[login to view URL]
Basically: How do I code a [login to view URL] bot that receives commands through a Java bridge (C#?) via a LuaSocket that is getting input from a Lua script console output and then posts in the Twitch 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:
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!