|
annex187 Beginner
Joined: 16 Mar 2003 Posts: 16 Location: USA
|
Posted: Thu Apr 29, 2004 9:10 am
Can't understand why trigger isn't working |
I have the following alias to check the value of a variable:
#ALIAS {flamecheck} {#IF (@fire<>"none") {belch}}
I keep track of the value of that variable in my status bar, so I know it's being changed correctly. If the value is "building" "yellow" "blue" or "white" it should belch. Now when I run the alias on its own, it belches when it should. But incorporated into another alias:
#ALIAS {wyrm} {flamecheck;morph icewyrm}
It doesn't belch when it should (I catch on fire and take severe damage). I thought maybe the alias wasn't evaluating the variable as quickly as it should, so I changed the alias to this:
#ALIAS {wyrm} {#IF (@fire<>"none") {belch;morph icewyrm} {morph icewyrm}}
The result is the same. Can anyone see a problem here? |
|
|
|
annex187 Beginner
Joined: 16 Mar 2003 Posts: 16 Location: USA
|
Posted: Thu Apr 29, 2004 9:37 am |
Ok, so subject should say alias not trigger. Forgive me, I'm tired.
|
|
|
|
annex187 Beginner
Joined: 16 Mar 2003 Posts: 16 Location: USA
|
Posted: Fri Apr 30, 2004 7:29 am |
The problem was a duplicate alias. I didn't even know you could have two aliases with the same name.
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Apr 30, 2004 10:17 am |
Thanks for updating us. I couldn't see any problem with your aliases so I was quite puzzled. It might have taken quite awhile for someone to think of checking for duplicate aliases.
|
|
|
|
|
|