 |
 |

F l o r a ' s B a t M U D t r i g g e r s f o r z M U D
#ECHO Healer stuff.
#ECHO Assigns front row tanks from party to variables so you can heal them easily.
#ECHO Type 'party place' for tanks to be stored. If there's only one tank, he/she
#ECHO is stored to tank1. If there are two, they are stored to tank1 and tank2.
#ECHO Now you can use F9 to heal tank1, F10 to heal tank2 and F11 to heal tank3.
#ECHO The healing spell to be cast is defined in healspell variable.
#ECHO I also added cast major party heal to F12 for fun.
#VAR tank1 {} {""}
#VAR tank2 {} {""}
#VAR tank3 {} {""}
#VAR healspell {cure critical wounds}
#KEY F9 {#if (@tank1="") {#echo No tank 1 defined.} {cast @healspell at @tank1}}
#KEY F10 {#if (@tank2="") {#echo No tank 2 defined.} {cast @healspell at @tank2}}
#KEY F11 {#if (@tank3="") {#echo No tank 3 defined.} {cast @healspell at @tank3}}
#KEY F12 {cast major party heal}
#TRIGGER {1st. Row(%s)(%x)(%s)(%x)(%s)(%x)} {#var tank1 "" "";#var tank2 "" "";#var tank3 "" "";#if (%replace(%2,-,1)="11111") { #if (%replace(%4,-,1)="11111") { #if (%replace(%6,-,1)="11111") { } { #var tank1 %lower(%6) ""; } } { #var tank1 %lower(%4) ""; #if (%replace(%6,-,1)="11111") { } { #var tank2 %lower(%6) ""; } }} { #var tank1 %lower(%2) ""; #if (%replace(%4,-,1)="11111") { #if (%replace(%6,-,1)="11111") { } { #var tank2 %lower(%6) ""; } } { #var tank2 %lower(%4) ""; #if (%replace(%6,-,1)="11111") { } { #var tank3 %lower(%6) ""; } }}} {healer} 676
#ECHO
#ECHO Healer gags. These two might be useful if you trigger 'party status short'
#ECHO to battle rounds.
#TRIGGER {,-----------------------------------------------------------------------------.$} {#ga} {healer_gag} 676
#TRIGGER {`-----------------------------------------------------------------------------'$} {#ga} {healer_gag} 676
|