|
Cyril Beginner
Joined: 16 Apr 2005 Posts: 12
|
Posted: Sat Apr 16, 2005 12:50 am
Simple trigger...not working |
I feel ashamed for posting this, but why doesn't it work? :p
#ALIAS stat {
gr
last %1
#ALARM +2 {#IF (@%1.class==({@tank})) {gt @%1.hp/@%1.maxhp ~(%eval( 100*@%1.hp/@%1.maxhp)% HP~)} {gt @%1.mana/@%1.maxmana ~(%eval( 100*@%1.mana/@%1.maxmana)% mana~)}}
}
The thing that isn't working is the #IF (here)
I've tried putting "" around both, ()...etc...what should I put there?
@TANK has in it Rogue|Warrior...etc |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Apr 16, 2005 3:14 am |
This should work
#IF (%ismember(@{%1.class},@tank)) |
|
|
|
|
|