[mw-devel] Command parsing

Peter Berry pwb at sucs.org
Wed May 12 20:30:57 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Currently all commands apart from .quit are parsed server side. I would
have thought that the proper way to go would be (mostly) to send them as
CMD messages, with incoming_text on the client parsing the command and
the message type set to whatever the command is, eg. "emote".

Basically we should have a few basic message types (eg emote, raw, zod,
say, sayto, user) which are received as XML messages. These are sent to
the server by the client, which interprets commands (eg .e, .raw, .zod,
normal chat, .sa, !user) which are implemented (mostly) as slang scripts
(or whatever, depending on the client, but that's how the default one
would work).

Your views please...

- -- 
Peter Berry
Treasurer, Swansea University Computer Society
<pwb at sucs.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFAontzEtItPGZsX9wRAi+PAJ4r82762MXz/8LgcPUFRGkC8A28DACdGF8r
ugwkdbCxW7QmyAN21xYqe6c=
=tKKI
-----END PGP SIGNATURE-----



More information about the mw-devel mailing list