Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
harry_p
Newbie


Joined: 11 Nov 2002
Posts: 1

PostPosted: 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
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Nov 11, 2002 6:50 pm   
 
Try:
#EXEC {%concat(".", @zone)}

Kjata
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Nov 11, 2002 6:54 pm   
 
Try .{@zone}

LightBulb
Senior Member
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net