|
|
|
In zMUD, the %1..%99 arguments from a trigger were immediately substituted into your script *before* the script was parsed. This could cause problems if the %1..%99 value contained spaces or other characters that could confuse the parser. In some cases, the {} or "" were placed around %1..%99 to prevent this.
In CMUD, none of this is needed anymore. %1..%99 are expanded at runtime as normal variable references and cannot cause parsing problems depending upon their values. In fact, you need to be careful *not* to put %1..%99 within "" quotes because variable references are not expanded within quotes in CMUD.
For example:
Code: |
zMUD:
#TRIGGER {Zugg says '(*)'} {#VAR message "%1"}
cMUD:
#TRIGGER {Zugg says '(*)'} {#VAR message %1} |
|
|