JimSocks
July 8th, 2025, 04:31
Hello,
I am developing an extension, but running into roadblocks left and right with the chat window. I can send a message out of FG to a python bridge I have running, by having it constantly read the database file looking for outbound comms. That works ok.
But I would like it to respond, and I can't figure out how to get the response back into the chat window.
I am using slash commands both to send the message out, and to try to retrieve it. The sending is working, but retrieving is stopping me cold. I have tried writing to the database (no joy, it's locked when FG is running), I have tried writing to an external file within the FG directory and reading from that file too, without success.
Is there a way?
I am developing an extension, but running into roadblocks left and right with the chat window. I can send a message out of FG to a python bridge I have running, by having it constantly read the database file looking for outbound comms. That works ok.
But I would like it to respond, and I can't figure out how to get the response back into the chat window.
I am using slash commands both to send the message out, and to try to retrieve it. The sending is working, but retrieving is stopping me cold. I have tried writing to the database (no joy, it's locked when FG is running), I have tried writing to an external file within the FG directory and reading from that file too, without success.
Is there a way?