Code: Select all
#BUTTON 1 {Cond} {#IF (@Cond) {@Cond = 0;#say Mob Cond off!;#NOOP %btncol( 1, black, yellow)} {@Cond = 1;#say Mob Cond on!;#NOOP %btncol( 1, black, green)}} {} {} {} {} {} {} {} {} {} {} {} {10} {} {} {} "" {} {} {}
Zubox wanted a condition caller so im tossing it in too:
Code: Select all
#TRIGGER {You receive your share of experience.} {#T+ ENasty;#T+ EPhurt;#T+ EAwful}
#CLASS {EAwful}
#TRIGGER {E: (%w) EC: awful} {#TIMER OFF;#IF (@Cond) {gsay %1 - awful;#T- ENasty;#T- EPhurt;#T- EAwful}} "" {notrig}
#CLASS 0
#CLASS {ENasty}
#TRIGGER {E: (%w) EC: nasty wounds} {#IF (@Cond) {gsay %1 - nasty wounds;#T- ENasty}} "" {notrig}
#CLASS 0
#CLASS {EPhurt}
#TRIGGER {E: (%w) EC: pretty hurt} {#IF (@Cond) {gsay %1 - pretty hurt;#T- ENasty;#T- EPhurt}} "" {notrig}
#CLASS 0
Found this lil bit lying around, thought i should share.