#nop ---New convert script --- #action {Zek reports to you: %0(%1) hits, %3(%4) mana} {#math {hpset} {%%1-100};#math {manaset} {%%4-200} #alias {sethp %1} {#var {hpset} {%%1} #alias {setmana %1} {#var {manaset} {%%1} #var {converting} {0} #var {quickconverting} {0} #var {fullhealing} {0} #var {hpset} {3752} #var {manaset} {3650} #action {< Zek | %1h %2m %3v |} {#var hp $1;#var mana $2;#var moves $3} #action {^You lost your concentration!} {#if {$converting=1} {!} {#nop};#if {$fullhealing=1} {h $victim} {#nop}} #alias {cv} {gt Converting!!!;rep zek;cast 'convert'} #action {You call upon the forces of nature to heal yourself.} {#var {converting} {1};h} #action {Your wounds begin to close.} {#if {$converting=1} {#if {$hp<$hpset} {h} {#if {$quickconverting=1} {#var {quickconverting} {0};#var {converting} {0};gt Done...} {manacheck}} {#nop}} #alias {manacheck} {#if {$converting=1} {#if {$mana<$manaset} {cv} {#var {converting} {0};gt Done converting}} {#nop} #alias {qcv} {gt Quick Convert!;rep zek;cast 'convert';#var {quickconverting} {1};h}