Having been wrangling with ways to make this easier.
I've found one way that could simplify the crap out of *everything* with the python module.
Basically, I've noticed theres a monster library of useful functions in the form of ;-
cmd_msg0
etc
etc
The problem is there all intended to return stuff to the clientlib.
SO..
I've decided that maybe the trick is to modify cprintf such that the output can be trapped by the python program.
thus I'm implementing two *hackerish* commands settrap() and
gettrap(buffer) that are called before and after a cmd_ type invocation
thus in python to get a list of rooms it'd be
citadel.settrap()
citadel.cmd_msgs()
buffer='' #typecast
citadel.gettrap(buffer)
#Some funky command to split the buffer into a list of lines
for line in lines:
Do some funkyprocessing(line)
I'll post the results when I'm finished. Its a tiny hack really.
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: IGnatius T Foobar
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: shayne
- [Citadel Development] Re: dothebart
- [Citadel Development] Re: dothebart
