Talk:Empath - Heal All Save Bleeders (script)
Please leave commentary / suggestions here. Once done, please add the date and your name as you see here: Kashna April 17, 2015.
Improvements
Consider making your "prep hw 7" and "prep hs 11" lines into variables at the very top.
setvariable prephw prepare hw 7
Then to use your variable repeatedly, use the line below. In the future you only have to update the variable instead of multiple lines.
put %prephw
Instead of needing the Empath's name you can do PERCEIVE HEALTH SELF. However, I'm a little confused what reason for this is over your use of HEALTH everywhere else that is not player specific.
>perc health self You close your eyes, centering your thoughts on your own life essence and drawing out the truth of your own injuries. Roundtime: 5 sec.
Another idea is to use LOOK WOUNDS %1 where %1 is the first argument of the script. The output is a little more condensed, and should be easier to match on. You could pass the name of the person you are healing as an argument.
#HeallAllSaveBleeders if_1 goto start echo Please specify who to heal. echo Usage: .heal Kashna quit start: ...