|
fwah Beginner
Joined: 08 Nov 2006 Posts: 14
|
Posted: Wed Apr 25, 2007 6:18 am
[1.29] Trouble with local variables |
I created an alias like so:
#alias esh($shipnum) {en $shipnum.ship}
If my memory serves correctly, before the recent updates this used to work fine. However, now when I type 'esh 5', all i get is 'en' regardless of what I include after it.
I want the alias to work like this:
I enter: esh 5
CMUD outputs: en 5.ship
Am I doing something wrong? Did something change? |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Wed Apr 25, 2007 9:43 am |
Changed in v1.28
Quote: |
Fixed $local.key = value syntax so that it works |
So now you need to specify that the .ship bit isn't a part of the variable
#alias esh($shipnum) {en $shipnum".ship"} |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
|
|