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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,045 |
Nodes: | 17 (0 / 17) |
Uptime: | 04:07:35 |
Calls: | 500,996 |
Calls today: | 13 |
Files: | 109,379 |
D/L today: |
2,550 files (2,316M bytes) |
Messages: | 305,868 |
Posted today: | 2 |