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
ToyMage
Apprentice


Joined: 01 Sep 2005
Posts: 120

PostPosted: Mon Oct 17, 2005 6:26 am   

Expand Variable in Macro Key?
 
#VAR SpeedPath nnnnwwwwuwdw

I set this to Macro key F1:

#VAR SpeedPath @SpeedPath

The purpose of this is to add or remove directions in the existing Speedpath because the first 6 directions are always the same.

But when i press F1 the @SpeedPath does not expand in the command line. It shows "#VAR SpeedPath @SpeedPath" exactly.

I was hoping it show "#VAR SpeedPath nnnnwwwwuwdw" in the command line and I could add in the additional directions.

Toy Mage
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Oct 17, 2005 8:18 am   
 
Change the options on the macro to "Send to MUD" checked, "Append to Command" unchecked, and "Daisy Chain" unchecked. Then change the contents to:
#EXECUTE {%concat("#INPUT {#VAR SpeedPath ",@SpeedPath,"}")}
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
ToyMage
Apprentice


Joined: 01 Sep 2005
Posts: 120

PostPosted: Tue Oct 18, 2005 4:11 am   
 
WORKS LIKE A CHARM!

THANKS!!!
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