Does anyone have a python script function reference with its parameters for mystic, since the wiki is empty and not useful?
Ra> Does anyone have a python script function reference with its parametersthanks! very useful!
Ra> for mystic, since the wiki is empty and not useful?
You can use this:
http://andr01d.zapto.org:8080/Files/xqtr_tools/xq-mpy.txt.htm
It is also available via gopher and also you will find it in FSX file areas ;)
.
do you know if are possible to write info to active node from scripts o external programs? sort of IPC communication with the mystic process ?|
Ra> do you know if are possible to write info to active node from scripts o
Ra> external programs? sort of IPC communication with the mystic process ?|
Not quite sure if i understood what you want to do... you want to send Node Messages? this is possible, yes. You can also send global node messages (to all connected users at once). To send a node message you can use the NS mci code.
Second use case "receive messages"
Here I am stuck, I can write a python daemon that receives the messages, but I can't find a way to inject them to the mystic user (if it is
logged)
But that daemon runs in its context separate from the mystic process. Therefore I do not have access to the user's session.
How can I send this kind of message to the user from python?
Can you give me a simple snippet of how to use that mci code from ptyhon?
Does anyone have a python script function reference with its parameters for mystic, since the wiki is empty and not useful?
El 2/10/21 a las 14:27, xqtr escribió:
do you know if are possible to write info to active node from scripts or external programs? sort of IPC communication with the mystic process ?
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 90 |
Nodes: | 16 (0 / 16) |
Uptime: | 07:50:29 |
Calls: | 5,073 |
Calls today: | 5 |
Files: | 8,491 |
Messages: | 352,796 |