WingsOfPurity Posted August 16, 2020 Posted August 16, 2020 Hi, is there a way to print the local chat of a viewer to stdout when running the viewer from the command line? I am trying to make a python wrapper script that can extend the viewer's functionality in a way similar to Firestorm's LSL bridge, but I currently have no way to communicate with the viewer.
KT Kingsley Posted August 16, 2020 Posted August 16, 2020 Maybe you could use a script to send local chat out via HTTP to a server (maybe local on your machine) and have that relay the chat to stdout. But I'm not an expert, and I'm just guessing here.
Fritigern Gothly Posted August 17, 2020 Posted August 17, 2020 Dump local chat to a log, then read the tail of the log. I don;t know Python, but that seems to be the way to go. 2
WingsOfPurity Posted August 17, 2020 Author Posted August 17, 2020 1 hour ago, Fritigern Gothly said: Dump local chat to a log, then read the tail of the log. I don;t know Python, but that seems to be the way to go. I didn't even think to do this, but I know just how I will accomplish it. Thank you for the suggestion! 1
Fritigern Gothly Posted August 17, 2020 Posted August 17, 2020 19 hours ago, WingsOfPurity said: I didn't even think to do this, but I know just how I will accomplish it. Thank you for the suggestion! I really should learn Python. I'm sure I could use it sometimes. I'm a Linux user, so I'm technically all set up already to get started with Python 3.x
WingsOfPurity Posted August 19, 2020 Author Posted August 19, 2020 On 8/17/2020 at 3:01 PM, Fritigern Gothly said: I really should learn Python. I'm sure I could use it sometimes. I'm a Linux user, so I'm technically all set up already to get started with Python 3.x You definitely should. I've recently been using it to automatically search through SL marketplace c:
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now