Talk:Empath - Heal All Save Bleeders (script): Difference between revisions
m (ISHARON moved page Talk:Empath - Heal All Save Bleeders (Script) to Talk:Empath - Heal All Save Bleeders (script)) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Please leave commentary / suggestions here. Once done, please add the date and your name as you see here: [[User:REYANDO|Kashna]] April 17, 2015. |
Please leave commentary / suggestions here. Once done, please add the date and your name as you see here: [[User:REYANDO|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 {{com|PERCEIVE}} {{tt|HEALTH SELF}}. However, I'm a little confused what reason for this is over your use of {{com|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 {{com|LOOK}} {{tt|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: |
|||
... |
|||
Hope this helps! - [[User:RY4NPW|padhg]] ([[User talk:RY4NPW|talk]]) 22:38, 17 April 2017 (CDT) |
Latest revision as of 21:51, 17 April 2017
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: ...