PDA

View Full Version : Pocket Empath / Healdown Script



Monotonous
10-13-2009, 10:52 AM
Useage: .script <Character1> <Character2> <Character3>

Running the script will healdown all wounds and scars (keeping hitpoints at full).

Then your empath will respond to whispers from any of the characters listed in the useage. M for mana (or can whisper anything, like "Mana me!"), B for buff, or H for heal.

The buffing will not check mana. It can fry nerves (which they'll heal down).

If you're in council of light you'll want to add a sign of staunching in there somewhere.



CheckHealMana:
MATCH WaitForHealMana Mana: 0/
MATCH WaitForHealMana Mana: 1/
MATCH WaitForHealMana Mana: 2/
MATCH WaitForHealMana Mana: 3/
MATCH WaitForHealMana Mana: 4/
MATCH WaitForHealMana Mana: 5/
MATCH WaitForHealMana Mana: 6/
MATCH WaitForHealMana Mana: 7/
MATCH WaitForHealMana Mana: 8/
MATCH WaitForHealMana Mana: 9/
MATCH WaitForHealMana Mana: 10/
MATCH WaitForHealMana Mana: 11/
MATCH WaitForHealMana Mana: 12/
MATCH WaitForHealMana Mana: 13/
MATCH WaitForHealMana Mana: 14/
MATCH WaitForHealMana Mana: -
MATCH CheckHealth Max
PUT EXP
MATCHWAIT

WaitForWhispers:
MATCH Heal_1 %1 whispers, "H
MATCH Heal_2 %2 whispers, "H
MATCH Heal_3 %3 whispers, "H

MATCH Mana_1 %1 whispers, "M
MATCH Mana_2 %2 whispers, "M
MATCH Mana_3 %3 whispers, "M

MATCH Buff_1 %1 whispers, "B
MATCH Buff_2 %2 whispers, "B
MATCH Buff_3 %3 whispers, "B

MATCH WaitForWhispers YOU HAVE BEEN IDLE TOO LONG. PLEASE RESPOND.
put EXP
MATCHWAIT

Heal:
ECHO -- Healing %s --
PAUSE
MATCH CheckHealMana Nothing happens.
MATCH Heal It took you a moment
MATCH CheckHealMana Transfer from whom?
put TR %s ANY
MATCHWAIT

Mana:
put send 30 %s
GOTO WaitForWhispers

Buff:
put PREP 202
put cast %s
pause 4
put PREP 202
put cast %s
pause 4
put PREP 107
put cast %s
pause 4
put PREP 103
put cast %s
pause 4
put PREP 101
put cast %s
pause 4
put whisper %s Done
GOTO WaitForWhispers

CheckHealth:
MATCH Blood You are feeling feint.
MATCH Blood You are feeling faint.
MATCH Blood You are feeling weakened.
MATCH Blood You are feeling light headed.
MATCH Blood You are feeling pretty good.
MATCH CheckWounds Remaining Stamina
PUT HEALTH
MATCHWAIT

WaitForHealMana:
PAUSE 15
GOTO CheckHealMana

CheckWounds:
MATCH RightHand Right Hand
MATCH RightArm Right Arm
MATCH RightLeg Right Leg
MATCH RightEye Right Eye
MATCH LeftHand Left Hand
MATCH LeftArm Left Arm
MATCH LeftLeg Left Leg
MATCH LeftEye Left Eye
MATCH Head Head
MATCH Head your face
MATCH Neck Neck
MATCH Back Back
MATCH Chest Chest
MATCH Abdomen Abdom
MATCH Nerves Nerves
MATCH Nerves twitching
MATCH Nerves convulsions
MATCH Head Head
MATCH Head facial scars
MATCH Nerves speech
MATCH Nerves muscle
MATCH WaitForWhispers Remaining Stamina
PUT HEALTH
MATCHWAIT


Blood:
pause
put cure
pause
goto CheckHealMana

RightHand:
pause
put cure right hand
pause
goto CheckHealMana

RightArm:
pause
put cure right arm
pause
goto CheckHealMana

RightLeg:
pause
put cure right leg
pause
goto CheckHealMana

RightEye:
pause
put cure right eye
pause
goto CheckHealMana

LeftHand:
pause
put cure left hand
pause
goto CheckHealMana

LeftArm:
pause
put cure left arm
pause
goto CheckHealMana

LeftLeg:
pause
put cure left leg
pause
goto CheckHealMana

LeftEye:
pause
put cure left eye
pause
goto CheckHealMana

Head:
pause
put cure head
pause
goto CheckHealMana

Neck:
pause
put cure neck
pause
goto CheckHealMana

Back:
pause
put cure back
pause
goto CheckHealMana

Chest:
pause
put cure chest
pause
goto CheckHealMana

Abdomen:
pause
put cure abdomen
pause
goto CheckHealMana

Nerves:
pause
put cure nerves
pause
goto CheckHealMana

Heal_1:
save %1
goto heal
Heal_2:
save %2
goto heal
Heal_3:
save %3
goto heal

Buff_1:
save %1
goto buff
Buff_2:
save %2
goto buff
Buff_3:
save %3
goto buff

Mana_1:
save %1
goto mana
Mana_2:
save %2
goto mana
Mana_3:
save %3
goto mana