|
stark62 Wanderer
Joined: 04 Apr 2003 Posts: 94 Location: United Kingdom
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4662 Location: Pensacola, FL, USA
|
Posted: Wed Sep 05, 2012 12:43 pm |
#FORALL @test {#EXEC {%i}}
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
stark62 Wanderer
Joined: 04 Apr 2003 Posts: 94 Location: United Kingdom
|
Posted: 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 |
|
|
|
stark62 Wanderer
Joined: 04 Apr 2003 Posts: 94 Location: United Kingdom
|
Posted: Wed Sep 05, 2012 7:56 pm |
sorry it works great - its me that doesnt always work well
Thanks |
|
|
|
|
|