|
mega_ Beginner
Joined: 15 May 2003 Posts: 16 Location: Estonia
|
Posted: Mon May 17, 2004 6:30 pm
problem with #temp triggers |
#TEMP {(%w)%s~: Before the Gates} {#EXECUTE %1}
if i enter this line to command line it works fine, but if i use it in an alias no trigger is created, where is the catch? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue May 18, 2004 2:51 am |
It works exactly as expected.
#AL test {#TEMP {(%w)%s~: Before the Gates} {#EXECUTE %1}}
test
creates a #TEMP trigger with pattern
(%w)%s~: Before the Gates
and value
#EXECUTE
test run
creates a #TEMP trigger with pattern
(%w)%s~: Before the Gates
and value
#EXECUTE run
test #BEEP
creates a #TEMP trigger with pattern
(%w)%s~: Before the Gates
and value
#EXECUTE #BEEP
I don't see a problem. What did you expect it to do? |
|
|
|
mega_ Beginner
Joined: 15 May 2003 Posts: 16 Location: Estonia
|
Posted: Thu May 20, 2004 9:12 am |
Ah, thanks, i think i see my stupidity.
So if i'd want to execute the parameter matched by (%w) i need to do it like this right?:
#AL test {#TEMP {(%w)%s~: Before the Gates} {#EXECUTE %%1}}
thanks ;) |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu May 20, 2004 7:18 pm |
Yes. And now I see what you expected it to do.
|
|
|
|
|
|