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
stark62
Wanderer


Joined: 04 Apr 2003
Posts: 94
Location: United Kingdom

PostPosted: Wed Sep 05, 2012 10:30 am   

Commands from a stringlist variable
 
Im guessing this is basic and i just cant find the correct helpfile

Ok I have a variable say @Test1
I want to put alias's in it which look like a1, a2, a3 etc
then I wish to send the alias stored in the variable in a macro

eg my todo list @test1 grows to

@test = a3|a2|g3|a1

now i wish to press F12 and have the mud execute all the alias a3 a2 g3 a1

Thanks
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Wed Sep 05, 2012 12:43 pm   
 
#FORALL @test {#EXEC {%i}}
_________________
Discord: Shalimarwildcat
Reply with quote
stark62
Wanderer


Joined: 04 Apr 2003
Posts: 94
Location: United Kingdom

PostPosted: Wed Sep 05, 2012 7:14 pm   
 
nearly but not working
I am using zmud 7.21 if that makes a difference

it seems to send the alias name to the mud but does not actually fire them

eg i see a3 a2 g3 but the mud does not recognize them as they are my alias

I need them to act as if typing a3 in zmud which will send sip potion1 to mud
Reply with quote
stark62
Wanderer


Joined: 04 Apr 2003
Posts: 94
Location: United Kingdom

PostPosted: Wed Sep 05, 2012 7:56 pm   
 
sorry it works great - its me that doesnt always work well

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