|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Wed Dec 20, 2006 6:54 am
[1.24] Indirect Variable Assignment |
Currently its not working properly.
color=teal
test=color
then #ECHO @{@test}
shows 'teal' like it should
However, #VAR @test pink
does not set color=pink like you would think, instead it sets test=pink
the #VAR command ignores the @ in the variablename |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Wed Dec 20, 2006 10:53 am |
Did this actually work in zMUD? I know it technically should work, but maybe Zugg isn't allowing it at the moment since maybe #VAR @test pink and #VAR test pink did the same thing in zMUD...
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Wed Dec 20, 2006 11:13 am |
in zmud it worked as @@test i did use it effectively
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Dec 21, 2006 4:27 am |
Confirmed. I tried putting braces around the parameters to get
#var {@test} {teal}
and got a syntax error. Definitely not behaving as expected. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jan 17, 2007 7:42 pm |
Added to bug list.
|
|
|
|
|
|