Have the following code (all of which has the variables declared etc)
Code: Select all
Sub Do-add
/assist @MasterName
/varset closetarget $target(id)
/target notid @closetarget npc
/varset addtarget $target(id)
:castloop
/stand
/cast @MezSpell
/doevents
/if n @ismezzed==1 {
/tell @MasterName $target(name,clean) is Mezzed!
/delay @MezTime
/target @addtarget
/goto :castloop
/return
}
/returnIf you have any ideas or can solve my problem - would me much appreciative.
Thanks

