Subj : Re: python function reference for mystic To : xqtr From : Ragnarok Date : Wed Oct 06 2021 09:34 pm El 4/10/21 a las 15:19, xqtr escribió: > > 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. > Hi! thanks for reply! I want to make a mystic module in python to connect with Synchronet's InterBBS Message System (sbbsimsg) This uses some tcp ports to send and receive messages. First use case: "send messages .." I can already do this using sockets to send to the remote bbs (easy part). 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 I tell mystic to listen on a port and what it receives to pipe to a python script? (SBBS have a "services concept" that do this job) like inetd unix service.. Can you give me a simple snippet of how to use that mci code from ptyhon? thanks! --- SBBSecho 3.14-Linux * Origin: Dock Sud BBS - bbs.docksud.com.ar - Argentina (21:2/151) .