|
harry_p Newbie
Joined: 11 Nov 2002 Posts: 1
|
Posted: Mon Nov 11, 2002 5:50 pm
Running a path whose name is in variable |
Is there any way of executing a path whose name is in variable in zMUD 6.16? In some older version (forgot which) it used to work just like .@variable but when I load my script to 6.16, that just feeds the value of the variable to mud. ie. variable=expzone, .@zone in a trigger sends the line "expzone" to mud, when I want it to run the path named expzone instead
thanks and regards,
Harry |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon Nov 11, 2002 6:50 pm |
Try:
#EXEC {%concat(".", @zone)}
Kjata |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Nov 11, 2002 6:54 pm |
Try .{@zone}
LightBulb
Senior Member |
|
|
|
|
|