Jump to content
You are about to reply to a thread that has been inactive for 1569 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Posted

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.

Posted

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.

Posted
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!

  • Like 1
Posted
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

 

Posted
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:

You are about to reply to a thread that has been inactive for 1569 days.

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
×
×
  • Create New...