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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
AmongTheDecay
Beginner


Joined: 25 Apr 2009
Posts: 28

PostPosted: Fri Oct 30, 2009 7:10 am   

Variable in a path
 
How do I call a variable in a path?

example..

#PATH forest 2e3ne(get @item)3s

Where item is a variable or a string list. If it is different for each let me know.

Thanks.
Reply with quote
Tarken Aurelius
Apprentice


Joined: 23 Oct 2008
Posts: 120
Location: Cincinnati, Ohio

PostPosted: Fri Oct 30, 2009 12:38 pm   
 
Hmm you might be better off just changing it to an alias if you want to do something midway:

Code:
#alias goforest {2 e;3 ne;get @item;3 s}
_________________
Tarken Aurelius, quality triggers since 2004! Trigger consulting since 2008! Content Developer at BatMUD (www.bat.org)
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Oct 30, 2009 1:46 pm   
 
Or make an alias for getting the item (for example 'getit'), and have your path be: #path forest 2e3ne(getit)3s
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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