 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Oct 03, 2006 11:17 pm
[1.08] Weird Parser Bug |
I have an alias that doesn't execute and I can't figure out why. Anyone else have trouble with it?
The alias is '$'. Just the dollar sign and this is the script.
#CLASS Money 1
#SEND money
And here is the compiled code.
Code: |
0000 LINE 0 ; #CLASS Money 1
0012 STR 'Money'
0028 PUSHEXP 0044
0036 JUMP 0052
0044 INT 1
0052 ARGSTR
0060 CMD class (2)
0072 LINE 1 ;
#SEND money
0084 STR 'money'
0100 CMD send (1) |
It may have something to with the fact that the #send command triggers another alias that is incorrectly being changed from 'conv-step' to 'conv -step'. |
|
_________________ Asati di tempari! |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Oct 04, 2006 2:06 am |
You can't have an alias with the name of $. Aliases must start with alphabetic characters in CMUD, sorry. This was always supposed to be the rule in zMUD, even though they sometimes worked anyway.
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Oct 04, 2006 3:36 am |
Gotcha.. I'll make the change.
|
|
_________________ Asati di tempari! |
|
|
 |
|
|