|
Rtoo Beginner
Joined: 30 Jul 2009 Posts: 11
|
Posted: Fri Aug 20, 2010 5:29 pm
Alias using a Varible |
Ok, I know this should be easy, but I am having problems with getting it to work. So you guys will ge a chuckle, I will hopefully get the answer :P
I have a simple alias to open a fight, K. Varible openatk=dirt
when I type K, I want this to happen:
@openatk %1 (dirt mob)
What I get is: dirtmob
Any idea why it is not leaving the space?
I have other triggers and aliases that have a Varible in them, but not leading off. They seem to work fine. |
|
|
|
Ithilion Wanderer
Joined: 02 Sep 2005 Posts: 85
|
Posted: Fri Aug 20, 2010 11:14 pm |
Code: |
#EXEC {@openatk %1} |
should fix that.
if not, it's a problem with preferences or parsing or somesuch.. |
|
|
|
Rtoo Beginner
Joined: 30 Jul 2009 Posts: 11
|
Posted: Wed Aug 25, 2010 5:41 am |
It fixed it :)
|
|
|
|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Fri Aug 27, 2010 2:09 pm |
#send %concat(@openatk, " ", %1)
should be a tiny bit more efficient, I believe. |
|
|
|
|
|