|
|
|
Each line of your scripts in CMUD must start with a command, either a zScript command or a literal command to be sent to the MUD. In zMUD, this worked:
Code: |
#forall @SomeList {%i} |
and each item from @SomeList would be sent to the MUD. Some zScript commands that can be used to reproduce the old behaviour are #CALL, #EXEC, #SEND (which is slightly different to its zMUD counterpart) and #SENDRAW.
Code: |
#forall @SomeList {#exec %i} |
will do the same thing as the above zMUD example.
NB: This is a bug and will be fixed in a future version. For now, follow the advice above. |
User comments |
Rorso: Wed Jul 16, 2008 4:30 pm |
|
When testing this in cMUD 2.30 it seems that both the cMUD way *and* the zMUD way works in cMUD . Kinda confusing. Which syntax should be used? |
|
|
Zugg: Wed Jul 16, 2008 4:40 pm |
|
While the zMUD way works in *some* cases in CMUD for compatibility, it is not recommended and does not work in all situations. CMUD users should use the second syntax where you specify #SEND or #EXEC directly. |
|
|
Fang Xianfu: Wed Jul 16, 2008 4:41 pm |
|
It probably depends on what exactly you're trying, but there're many examples on the forums of it failing. Were you using the exact ones from the file?
Argh! Ninja :( |
|
|
|