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
Churlant
Novice


Joined: 17 Oct 2002
Posts: 44
Location: USA

PostPosted: Mon Nov 12, 2007 3:15 pm   

Function to show Alias Value?
 
Just a fairly simple question I think. I think there's a function for this, but can't seem to find it. Trying to set up a simple trigger that will send the actual value of a current alias to a mud channel.

So if the speedwalk alias 'run-Mob5' has a value of 'run 4es22en4w', I want a way to capture the value without cut/paste, etc.

Thanks in advance.

-JC
_________________
>-Churlant-<
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Nov 12, 2007 4:06 pm   
 
You should be looking into using the #PATH command. It should do exactly what you want.

Syntax: #PA [pathname]
Related: #MARK #RETRACE #MAP

If pathname is omitted, the current path being recorded is displayed. If pathname is given, the currently recorded path is saved to the variable specified by pathname. The direction character (.) is prepended to the variable name automatically.

PATH examples

#PA

displays the current path being recorded

#PA magic

saves the current path to the variable .magic.
_________________
Asati di tempari!
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Nov 12, 2007 11:56 pm   
 
Aptly named %alias.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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