|
benny1564 Novice
Joined: 22 Jun 2004 Posts: 48
|
Posted: Sat Nov 12, 2005 8:34 am
Trouble with wildcards in triggers created with an alias |
Hi, I need an alias that creates a trigger that does something with the first wildcard in the trigger, %1.
But if I enter
#alias (temporary) {#temp {monster (%d)} {#echo %1 monsters}}
the %1 in the #echo will be treated as the next word after the alias. How do I make it work? |
|
_________________ |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Nov 12, 2005 1:11 pm |
%%1
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
benny1564 Novice
Joined: 22 Jun 2004 Posts: 48
|
Posted: Sat Nov 12, 2005 4:44 pm |
Oke, but if I want a trigger, that creates a trigger, that creates a trigger with a wildcard... How would I do that?
|
|
_________________ |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Nov 12, 2005 5:12 pm |
%%%1 %%%%1 %%%%%1
But usually when you start using more and more %%%%%%%%%1's its time to think of a better way to do the script :p |
|
|
|
benny1564 Novice
Joined: 22 Jun 2004 Posts: 48
|
Posted: Sat Nov 12, 2005 5:14 pm |
Thank you!
|
|
_________________ |
|
|
|
|
|