|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Nov 08, 2006 10:50 pm
MXP in CMUD? |
I have a question about MXP in CMUD. There isn't any information on MXP in the CMUD manual and a search of the forum didn't turn up anything useful. The zMUD forum also gave different answers to this question, so I figured I'd ask:
can <send> include CMUD commands when used by #mxp? For example
#mxp <send "#var test 0">click to test</send>
Some threads said that zMUD could do this, and some said it couldn't. Can CMUD? If not, is it intended to be able to, or is there a reason for it not being able to? |
|
|
|
Strakc Apprentice
Joined: 31 Jan 2006 Posts: 106 Location: Virginia Beach, Virginia
|
Posted: Wed Nov 08, 2006 10:54 pm |
For alot of people, if this was used, people could abuse it to force other people to do things they didn't want correct?
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Nov 08, 2006 11:11 pm |
No, neither zMUD nor CMUD can do this, and they never will because of the potential security issues. Keep in mind that in zMUD/CMUD scripting you can call COM functions, which allows you to access system stuff. So allowing a MUD to execute a zMUD/CMUD script would be like opening your computer wide open to anything the MUD wanted to do to it. And that's not a security hole I'm willing to open.
|
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Thu Nov 09, 2006 12:34 am |
However, MXP can set entities which can optionally be made available to the client (zMUD / CMUD / etc.). These are much like variables, and indeed there is even a variation of the entity element called var.
This is the specification page:
http://www.zuggsoft.com/page.php?file=zmud/mxp.htm#ENTITY |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Nov 09, 2006 12:39 am |
I was wondering, could you use an #oninput trigger or an alias instead to make this work?
|
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Thu Nov 09, 2006 1:07 am |
You can probably use something else, yes. What are actually trying to do? Your original example was not very clear what the usage scenario was.
[Edit: Although this is really a beta testing forum, and since MXP hasn't changed since zMUD, these sorts of questions should really be in the zMUD discussion forum, I think.] |
|
|
|
|
|