entropyreduction wrote:
> I'm thinking of messing with listen_on service, possibly breaking
> existing scripts if anyone's using it. Is anyone?
>
Occasionally I use toPipe.exe to talk to the following trivial server script.
Go ahead and change listen_on as you need to.
; Started by !!!.btm - WORKING AS OF 20062505 - Hurray!
; TODO: ATM script uses pipe mode that directly runs received msgs as
; commands - which is nice but doesn't provide a local context.
; In the future study pipe plugin docs to add for() loop
; to receive a plain msg, and run it with eval() / do() which
; should provide a local context
@Start
win.debug(time,cb("start"),"started listening for incoming commands...")
pipe.listen_on("powerpro",0) ;; loops internally
quit
@Stop
win.debug(time,cb("stop"),"stopped listening - quit")
pipe.listen_off
pipe.unload
quit