2011-12-08 01:27 pm
I dont know but for some reason this doesnt work can anoyone take a look at this for me please?
.#CLASS {vospire}
.#VAR potentialtargets {A resident is here, enjoying the comfort of home.=A resident of Vospire|A citizen .of Vospire is here, walking the streets.=A citizen|A friendly dragon flies along here.=A friendly .dragon|A commoner walks the streets, dealing with the tasks at hand.=A commoner|A city guard of Vospire .strolls here with his hand on his hilt.=A city guard of Vospire|A tough looking janitor is here, cleaning .the streets.=A janitor|A young woman is here, enjoying city life.=A young woman|*A tame dragon flies .about here.=A tame dragon|A young squire is here, practicing his techniques.=A young squire}
.#VAR target {} {}
.#TRIGGER "findtarget" {^({@potentialtargets})$} {target=%additem( %db( @potentialtargets, "%1"), .@target);#SUB {%1 %ansi(gray)(queued: %db( @potentialtargets, "%1"))}} "" {disable}
.#TRIGGER {^~(————————————————————————-~) ? ~<-?-~(M~)-?-~> ?$} {#VAR target {};#T+ "findtarget";#ALARM .+0.5 {#T- "findtarget"}}
.#TRIGGER {^Your blood freezes as you hear (*)’s death cry.$} {#DELN target %ismember( %1, @target)}
.#TRIGGER {^Your blood freezes as you hear a {bored|dracon} citizen’s death cry.$} {#DELN target .%ismember( citizen, @target)}
.#TRIGGER {^That creature is not present.$} {#DELI target @target.1}
.#KEY CLEAR {#IF (@target = %null) {#SH No targets in queue!} {kill ~"@target.1~"}}
.#CLASS 0
|