Ok I've gone over this as much as I can on my code....
In ZMUD when I send the CLI command #MXP <SEND>Look</SEND>
Which displays look
I click on it and it sends look to the mud and the mud looks.....Thats great.
I can also have the mud send MXP to the client as well.
Example:
Code (text):
write_to_buffer( d, MXPTAG ("!ELEMENT look \"<send href='look'>\""),0);
LATER ON IN CODE
stc( "* " MXPTAG("look") "@Rlook@x" MXPTAG("/look")"",ch);
Which displays look. I click it and it looks for me.
My problem stems from wanting mobprogs to send the codes to the client.
Im probably being REAL stupid about it....
I am using
mob echoat $n #MXP <SEND>look</SEND>
and
mob echoat $n #MXP \x03send\x04 look \x03/send\x04
to try to get it to send. It prints on the screen.
All I get is whatever I type into the mobprog displayed on the screen, zmud either wont interpret it OR
its not being translated properly in the code before being sent to the character.
Is this a case of mob echoat not using write_to_buffer and going right to act?
Any help with this would be great! Thanks!
In ZMUD when I send the CLI command #MXP <SEND>Look</SEND>
Which displays look
I click on it and it sends look to the mud and the mud looks.....Thats great.
I can also have the mud send MXP to the client as well.
Example:
Code (text):
write_to_buffer( d, MXPTAG ("!ELEMENT look \"<send href='look'>\""),0);
LATER ON IN CODE
stc( "* " MXPTAG("look") "@Rlook@x" MXPTAG("/look")"",ch);
Which displays look. I click it and it looks for me.
My problem stems from wanting mobprogs to send the codes to the client.
Im probably being REAL stupid about it....
I am using
mob echoat $n #MXP <SEND>look</SEND>
and
mob echoat $n #MXP \x03send\x04 look \x03/send\x04
to try to get it to send. It prints on the screen.
All I get is whatever I type into the mobprog displayed on the screen, zmud either wont interpret it OR
its not being translated properly in the code before being sent to the character.
Is this a case of mob echoat not using write_to_buffer and going right to act?
Any help with this would be great! Thanks!