About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
andrul
Beginner


Joined: 09 May 2001
Posts: 25
Location: USA

PostPosted: Wed Jan 02, 2002 6:11 am   

variables
 
Theoretically simple desire:
I use several macro keys for attack spells and would like to use a variable to target them. I use '#var target prospero' and my macro key would have 'fireball @target'.
Unfortunately it sends "fireball @target" to the mud instead of "fireball prospero". Parsing is turned on, and yes, I double checked that my variable char is '@' and enabled. I'm running 6.15 on Win98.
I know I can set the macro to use aliases which could all be changed with a multi-state button but changing a single variable seems so much more desirable to me.
Any suggestions folks?

Paranoia is a survival trait
Reply with quote
Morgul_Wraith
Newbie


Joined: 25 Dec 2001
Posts: 5
Location: Canada

PostPosted: Wed Jan 02, 2002 9:00 am   
 
Hrmmm... This one kinda stumps me...

Are you perhaps not using an alias on the macro? If yes, then create an alias that uses the variable in it, and have the macro execute the alias...

If you ARE already using an alias on the macro, try writing the script for the macro itself.

I don't use macros, so I never experience macro problems... another idea is replacing the macro with a zMUD button.

I go by many names under the skies. I am known to some as Phobos, to others as simply Fear. To some I am Death, to others I am the Reaper.
Reply with quote
andrul
Beginner


Joined: 09 May 2001
Posts: 25
Location: USA

PostPosted: Wed Jan 02, 2002 2:13 pm   
 
Thanks. Very embarrassing. I was trying to test it out on the command line which wasn't working but as soon as I put it in the macro it worked. Preferences wasn't set to expand variables from the command line.

Andrul

Paranoia is a survival trait
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