using /set -z - 23/03/03 10:22 PM
Is there a way to msg a chan when the var
used in the /sat -z command hits 0?
used in the /sat -z command hits 0?
on 4:text:!skill doom *:#: { dec -z %cur [ $+ [ $3 ] ] | msg $chan $3 has been inflicted with DOOM! } :loop: if %var == 0 { msg #chan $3 $+ ' s HP is now at 0!!! } }
on 4:text:!skill doom *:#: { dec -z %cur [ $+ [ $3 ] ] if %cur [ $+ [ $3 ] ] != 0 { msg $chan $3 has been inflicted with DOOM! } if %cur [ $+ [ $3 ] ] == 0 { msg #chan $3 $+ ' s HP is now at 0!!! } }