allow mirc to pipe stdout from other programs... - 19/02/04 06:05 PM
mIRC should have a way in which one could do something like /pipeopen(<pipe name>, <binary executable>, [<command-line arguments>]) and then get it's piped output via something like
on *:piperead:<pipe name>:{
piperead %blah...
}
and maybe have a feature for
/pipewrite <pipe name> <stdout data>
and then
on *:pipeclose:<pipe name>:{
%return_code = $pipereturncode
}
or something like that
THIS WOULD MAKE COMPLEX SCRIPTWRITING EXTREMELY, EXXXTREMELY POWERFUL, and wouldn't really be too hard.
-- fez
p.s.,
I realize that one could do something similar to this via .dlls, or make their program use sockets to interact with mirc or whatever, but that's not what i'm interested in.....
on *:piperead:<pipe name>:{
piperead %blah...
}
and maybe have a feature for
/pipewrite <pipe name> <stdout data>
and then
on *:pipeclose:<pipe name>:{
%return_code = $pipereturncode
}
or something like that
THIS WOULD MAKE COMPLEX SCRIPTWRITING EXTREMELY, EXXXTREMELY POWERFUL, and wouldn't really be too hard.
-- fez
p.s.,
I realize that one could do something similar to this via .dlls, or make their program use sockets to interact with mirc or whatever, but that's not what i'm interested in.....