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
Harlequ1n
Newbie


Joined: 24 May 2007
Posts: 5

PostPosted: Tue Jul 03, 2007 6:24 pm   

Executing an alias from a variable
 
I have a string list - Balanceactions.

When I get the line, "You have recovered balance.", it sends the first item from that list. Sometimes the item will be an alias in cMud, but it refuses to work - For example, DS, for doublestab, may be in the list, and when I regain balance, it sends it straight to the mud rather than executing the DS alias.

Is ther a way to change that, or am I doing something wrong?

EDIT: Nevermind! Found it.

#EXECUTE infront of %item(@balanceactions, 1) was the solution.
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