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
lucas
Beginner


Joined: 01 Oct 2008
Posts: 16

PostPosted: Wed Oct 01, 2008 10:36 am   

how to execute the variable directly?
 
#var path_36; /*the content of path_36 is e;e;e;s;s;*/

I want to walk along the var path_36.

Notice I do not use slow walking.

maybe, I wonder if I can send the content of the variable to mud server directly. It will make sense.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Wed Oct 01, 2008 12:21 pm   
 
%pathexpand()
_________________
Taz :)
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Wed Oct 01, 2008 8:30 pm   
 
If you only want to send it, #send @path_36 should do it.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Oct 02, 2008 1:44 am   
 
Based on your desription of the contents of the variable #EXECUTE would be the correct command. I think 4.62 had this command, but as I stated earlier it is not really supported, and so I have never installed it to try to support it.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Thu Oct 02, 2008 7:09 am   
 
Also Vij, you other examples wont work with 4.62 since the #CLASS command isn't supported. To put a var/trig/alias etc into a class you added {classname} to the end of the declaration.

ie.: #VAR DorkOne {values of stuff here blah blah blah} {classname}

Which could get annoying when you didn't fill in all possible values between, especially on triggers (it had to be in the last position so you'd have to use empty {} brackets to skip a position)

And is one of the main reasons I upgraded to 5.55 when it came out and kept on upgrading
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
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