PDA

View Full Version : Healing/Clean up script



JustMe
10-18-2003, 04:34 AM
Use to have a great healing script that I used where it checked the person, then transferred that wound. Somehow I deleted it, was wondering if anyone had one like it. Before everyone yells at me about script healing, it's not used for healing other people. I used it for cleanups and such, anyhow, if someone has the script that I'm looking for U2U me please or tell me where it's located, thanks!

Drew2
10-18-2003, 04:57 AM
I have one called full.cmd that uses Transfer any, but I only use it for clean ups since Trans any doesn't give much exp if you use it on patients. Anyway, it takes all the wounds then heals down completely, if you want it.

theotherjohn
10-18-2003, 09:19 AM
#Full Empath Healing and heal down
echo *** Writen by Reyek. Inspired by Deathravin. ***
Echo *** WWW.GSSCRIPTS.com ***


put sign staunching
put Nod %1
pause 1
HealTheThrees:
save HealTheThrees
match healHH severe head trauma and bleeding from the ears
match healLE blinded left eye
match healRE blinded right eye
match healNK snapped bones and serious bleeding from the neck
match healNE case of uncontrollable convulsions
match healLL completely severed left leg
match healRL completely severed right leg
match healLA completely severed left arm
match healRA completely severed right arm
match healLH completely severed left hand
match healRH completely severed right hand
match healAB deep gashes and serious bleeding from her abdominal area
match healAB deep gashes and serious bleeding from his abdominal area
match healCH deep gashes and serious bleeding from her chest
match healCH deep gashes and serious bleeding from his chest
match healBA deep gashes and serious bleeding from her back
match healBA deep gashes and serious bleeding from his back
match HealTheTwos He is wearing
match HealTheTwos She is wearing
put look at %1
matchwait

HealTheTwos:
puase 1
save HealTheTwos
match healHH minor lacerations about the head and a possible mild concussion
match healLE swollen left eye
match healRE swollen right eye
match healNE case of sporadic convulsions
match healLL fractured and bleeding left leg
match healRL fractured and bleeding right leg
match healLA fractured and bleeding left arm
match healRA fractured and bleeding right arm
match healLH fractured and bleeding left hand
match healRH fractured and bleeding right hand
match healNK moderate bleeding from her neck
match healNK moderate bleeding from his neck
match healCH deep lacerations across her chest
match healCH deep lacerations across his chest
match healAB deep lacerations across her abdominal area
match healAB deep lacerations across his abdominal area
match healBA deep lacerations across her back
match healBA deep lacerations across his back
match HealTheOnes He is wearing
match HealTheOnes She is wearing
put look at %1
matchwait

HealTheOnes:
pause .5
save HealTheOnes
match healHH minor bruises about the head
match healLE bruised left eye
match healRE bruised right eye
match healNE strange case of muscle twitching
match healNK minor bruises on her neck
match healNK minor bruises on his neck
match healLL minor cuts and bruises on her left leg
match healLL minor cuts and bruises on his left leg
match HealRL minor cuts and bruises on her right leg
match HealRL minor cuts and bruises on his right leg
match healLA minor cuts and bruises on her left arm
match healLA minor cuts and bruises on his left arm
match healRA minor cuts and bruises on her right arm
match healRA minor cuts and bruises on his right arm
match healLH minor cuts and bruises on her left hand
match healLH minor cuts and bruises on his left hand
match healRH minor cuts and bruises on her right hand
match healRH minor cuts and bruises on his right hand
match healCH minor cuts and bruises on her chest
match healCH minor cuts and bruises on his chest
match healAB minor cuts and bruises on her abdominal area
match healAB minor cuts and bruises on his abdominal area
match healBA minor cuts and bruises on her back
match healBA minor cuts and bruises on his back
match healDO He is wearing
match healDO She is wearing
put look at %1
matchwait

DOCheck:
HealDO:
goto nomore

healHH:
put trans %1 head
goto %s

healLE:
put trans %1 left eye
goto %s

healRE:
put trans %1 right eye
goto %s

healNK:
put trans %1 neck
goto %s

healNE:
put trans %1 nerves
goto %s

healLL:
put trans %1 left leg
goto %s

healRL:
put trans %1 right leg
goto %s

healLA:
put trans %1 left arm
goto %s

healRA:
put trans %1 right arm
goto %s

healLH:
put trans %1 left hand
goto %s

healRH:
put trans %1 right hand
goto %s

healCH:
put trans %1 chest
goto %s

healAB:
put trans %1 abdomen
goto %s

healBA:
put trans %1 back
goto %s

healchecking:
match %s is transferred to you.
match %s You strain to do the transfer, but it doesn't work.
match %s Nothing happens.
matchwait


Nomore:
healdown:
Crits:
match HeadCrit severe head trauma
match ChestCrit deep gashes and serious bleeding from your chest
match AbCrit deep gashes and serious bleeding from your abdominal
match NeckCrit snapped bones and serious bleeding from the neck
match LlegCrit completely severed left leg
match RlegCrit completely severed right leg
match LarmCrit completely severed left arm
match RarmCrit completely severed right arm
match LhandCrit completely severed left hand
match RhandCrit completely severed right hand
match REyeCrit blinded right eye
match LEyeCrit blinded left eye
match BackCrit deep gashes and serious bleeding from your back
match NerveCrit uncontrollable
Match Nocrits Remaining Spirit
put health
MatchWait

NerveCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: -
Match PrepNerveCrit Mana:
put exp
Matchwait

PrepNerveCrit:
put prep 1103
match CastNerveCrit your spell is
match ReprepNerveCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastNerveCrit You already have a spell readied!
MatchWait

ReprepNerveCrit:
GoTo PrepNerveCrit

CastNerveCrit:
put cast
pause 3
Goto Crits

LhandCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: -
Match PrepLhandCrit Mana:
put exp
Matchwait

PrepLhandCrit:
put prep 1102
match CastLhandCrit your spell is
match ReprepLhandCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastLhandCrit You already have a spell readied!
MatchWait

ReprepLhandCrit:
GoTo PrepLhandCrit

CastLhandCrit:
put cure L hand
pause 3
Goto Crits
RhandCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: -
Match PrepRhandCrit Mana:
put exp
matchwait

PrepRhandCrit:
put prep 1102
match CastRhandCrit your spell is
match ReprepRhandCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastRhandCrit You already have a spell readied!
MatchWait

ReprepRhandCrit:
GoTo PrepRhandCrit

CastRhandCrit:
put cure R hand
pause 3
Goto Crits

RlegCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: -
Match PrepRlegCrit Mana:
put exp
Matchwait

PrepRlegCrit:
put prep 1102
match CastRlegCrit your spell is
match ReprepRlegCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastRlegCrit You already have a spell readied!
MatchWait
ReprepRlegCrit:
GoTo PrepRlegCrit
CastRlegCrit:
put cure R leg
pause 3
Goto Crits

LlegCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: -
Match PrepLlegCrit Mana:
put exp
Matchwait

PrepLlegCrit:
put prep 1102
match CastLlegCrit your spell is
match ReprepLlegCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastLlegCrit You already have a spell readied!
MatchWait

ReprepLlegCrit:
GoTo PrepLlegCrit
CastLlegCrit:
put cure L leg
pause 3
Goto Crits

LArmCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: -
Match PrepLArmCrit Mana:
put exp
Matchwait

PrepLArmCrit:
put prep 1102
match CastLArmCrit your spell is
match ReprepLArmCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastLArmCrit You already have a spell readied!
MatchWait

ReprepLArmCrit:
GoTo PrepLArmCrit

CastLArmCrit:
put cure L Arm
pause 3
Goto Crits

RArmCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: -
Match PrepRArmCrit Mana:
put exp
Matchwait

PrepRArmCrit:
put prep 1102
match CastRArmCrit your spell is
match ReprepRArmCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastRArmCrit You already have a spell readied!
MatchWait

ReprepRArmCrit:
GoTo PrepRArmCrit

CastRArmCrit:
put cure R Arm
pause 3
Goto Crits

HeadCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: -

Match PrepHeadCrit Mana:
put exp
Matchwait

PrepHeadCrit:
put prep 1104
match CastHeadCrit your spell is
match ReprepHeadCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastHeadCrit You already have a spell readied!
MatchWait

ReprepHeadCrit:
GoTo PrepHeadCrit

castHeadCrit:
put cure Head
pause 3
Goto Crits

NeckCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: -
Match PrepNeckCrit Mana:
put exp
Matchwait

PrepNeckCrit:
put prep 1104
match CastNeckCrit your spell is
match ReprepNeckCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastNeckCrit You already have a spell readied!
MatchWait

ReprepNeckCrit:
GoTo PrepNeckCrit

CastNeckCrit:
put cure Neck
pause 3
Goto Crits

ChestCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: 9/
Match manawait Mana: -
Match PrepChestCrit Mana:
put exp
Matchwait

PrepChestCrit:
put prep 1105
match CastChestCrit your spell is
match ReprepChestCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastChestCrit You already have a spell readied!
MatchWait

ReprepChestCrit:
GoTo PrepChestCrit

CastChestCrit:
put cure Chest
pause 3
Goto Crits

AbCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: 9/
Match manawait Mana: -
Match PrepAbCrit Mana:
put exp
Matchwait

PrepAbCrit:
put prep 1105
match CastAbCrit your spell is
match ReprepAbCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastAbCrit You already have a spell readied!
MatchWait

ReprepAbCrit:
GoTo PrepAbCrit

CastAbCrit:
put cure Abdomen
pause 3
Goto Crits

BackCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: 9/
Match manawait Mana: -
Match PrepBackCrit Mana:
put exp
Matchwait

PrepBackCrit:
put prep 1105
match CastBackCrit your spell is
match ReprepBackCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastBackCrit You already have a spell readied!
MatchWait

ReprepBackCrit:
GoTo PrepBackCrit
CastBackCrit:
put cure Back
pause 3
Goto Crits

LEyeCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: 9/
Match manawait Mana: -
Match PrepLEyeCrit Mana:
put exp
Matchwait

PrepLEyeCrit:
put prep 1105
match CastLEyeCrit your spell is
match ReprepLEyeCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastLEyeCrit You already have a spell readied!
MatchWait

ReprepLEyeCrit:
GoTo PrepLEyeCrit

CastLEyeCrit:
put cure L Eye
pause 3
Goto Crits

REyeCrit:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: 9/
Match manawait Mana: -
Match PrepREyeCrit Mana:
put exp
Matchwait

PrepREyeCrit:
put prep 1105
match CastREyeCrit your spell is
match ReprepREyeCrit Wait
match End but you dont
match Errors You do not know that spell!
Match CastREyeCrit You already have a spell readied!
MatchWait

ReprepREyeCrit:
GoTo PrepREyeCrit

CastREyeCrit:
put cure R eye
pause 3
Goto Crits

Nocrits:
shift
if_1 goto start
Healdown:
Majors:
match HeadB mild concussion
match HeadB from the ears
match BodyB deep lacerations
match BodyB deep gashes
match BodyB blinded
match BodyB swollen
match HeadB from your neck
match HeadB snapped bones
match LimbB completely severed
match LimbB fractured and bleeding
match NervesB uncontrollable
match NervesB sporadic
match use1101 You are feeling feint.
match use1101 You are feeling faint.
match use1101 You are feeling weakened.
match use1101 You are feeling light headed.
match use1101 You are feeling pretty good.
Match Minorswait Remaining Spirit
put health
MatchWait

use1101:
match manawait Mana: 0
match manawait Mana: -
match Prep1101 Mana:
put exp
matchwait

Prep1101:
put prep 1101
match Cast1101 your spell is
match Reprep1101 Wait
match End but you dont
match Errors You do not know that spell!
Match Cast1101 You already have a spell readied!
MatchWait

Reprep1101:
GoTo Prep1101

Cast1101:
put cast
pause 3
goto Majors

HeadB:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: -
Match Prep1104 Mana:
put exp
Matchwait

Prep1104:
put prep 1104
match Cast1104 your spell is
match Reprep1104 Wait
match End but you dont
match Errors You do not know that spell!
Match Cast1104 You already have a spell readied!
MatchWait

Reprep1104:
GoTo Prep1104

Cast1104:
put cast
pause 3
Goto Majors

LimbB:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: -
Match Prep1102 Mana:
put exp
Matchwait

Prep1102:
put prep 1102
match Cast1102 your spell is
match Reprep1102 Wait
match End but you dont
match Errors You do not know that spell!
Match Cast1102 You already have a spell readied!
MatchWait

Reprep1102:
GoTo Prep1102
Cast1102:
put cast
pause 3
Goto Majors

BodyB:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: 8/
Match manawait Mana: 9/
Match manawait Mana: -
Match Prep1105 Mana:
put exp
Matchwait

Prep1105:
put prep 1105
match Cast1105 your spell is
match Reprep1105 Wait
match End but you dont
match Errors You do not know that spell!
Match Cast1105 You already have a spell readied!
MatchWait

Reprep1105:
GoTo Prep1105

Cast1105:
put cast
pause 3
Goto Majors

NervesB:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait Mana: 7/
Match manawait Mana: -
Match Prep1103 Mana:
put exp
Matchwait

Prep1103:
put prep 1103
match Cast1103 your spell is
match Reprep1103 Wait
match End but you dont
match Errors You do not know that spell!
Match Cast1103 You already have a spell readied!
MatchWait

Reprep1103:
GoTo Prep1103

Cast1103:
put cast
pause 3
Goto Majors

minorswait:
pause 5
echo *** About to heal down to scar. ***
echo *** Do you want to? ***
echo *** aye? nae? ***
match Minors aye
match end nae
matchwait

Minors:
match Headm minor bruises about the head
match Headm minor bruises on your neck
match Bodym a bruised
match Bodym bruises on your chest
match Bodym bruises on your abdominal
match Bodym bruises on your back
match Nervesm strange case
match Limbm bruises on your left arm
match Limbm bruises on your left hand
match Limbm bruises on your right arm
match Limbm bruises on your right hand
match Limbm bruises on your right leg
match Limbm bruises on your left leg
match End Remaining Spirit
put health
MatchWait

Headm:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: -
Match PrepHead Mana:
put exp
Matchwait

PrepHead:
put prep 1104
match CastHead your spell is
match ReprepHead Wait
match End but you dont
match Errors You do not know that spell!
Match CastHead You already have a spell readied!
MatchWait

ReprepHead:
GoTo PrepHead

CastHead:
put cast
pause 3
Goto Minors

Limbm:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: -
Match PrepAppen Mana:
put exp
Matchwait

PrepAppen:
put prep 1102
match CastAppen your spell is
match ReprepAppen Wait
match End but you dont
match Errors You do not know that spell!
Match CastAppen You already have a spell readied!
MatchWait

ReprepAppen:
GoTo PrepAppen
CastAppen:
put cast
pause 3
Goto Minors

Bodym:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: -
Match Preptorso Mana:
put exp
Matchwait

Preptorso:
put prep 1105
match Casttorso your spell is
match Repreptorso Wait
match End but you dont
match Errors You do not know that spell!
Match Casttorso You already have a spell readied!
MatchWait

Repreptorso:
GoTo Preptorso

Casttorso:
put cast
pause 3
Goto Minors

Nervesm:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: -
Match Prepsys Mana:
put exp
Matchwait

Prepsys:
put prep 1103
match Castsys your spell is
match Reprepsys Wait
match End but you dont
match Errors You do not know that spell!
Match Castsys You already have a spell readied!
MatchWait

Reprepsys:
GoTo Prepsys

Castsys:
put cast
pause 3
Goto Minors

End1:
exit

End:
exit

ManaWait:
echo *** Out of Mana! ***
Match Crits You feel at full magical power again.
Match Crits Suddenly, a small bolt of energy arcs between the two of you.
Match Crits You feel more refreshed.
MatchWait

Errors:
echo ****In order to run the full length of this script completely.***
echo ****You must know up to 1110 in the empath spell list.
exit

WTF:
Echo ***Seems the script didnt heal all the wounds...running through again to find wounds.***
goto healdown

JustMe
10-18-2003, 03:10 PM
Originally posted by Tayre
I have one called full.cmd that uses Transfer any, but I only use it for clean ups since Trans any doesn't give much exp if you use it on patients. Anyway, it takes all the wounds then heals down completely, if you want it.

I had that one, was annoying to use and took forever when doing a clean up. Thank you though!

Theotherjohn, that is the one I was looking for. Thanks! :thumbsup:

Deathravin
10-18-2003, 08:17 PM
Wizard Transfer Script: http://members.cox.net/lorddeathravin/Scripts/trans.cmd
Wizard Healme Script: http://members.cox.net/lorddeathravin/Scripts/healme.cmd

Escape Transfer Script: http://members.cox.net/lorddeathravin/Scripts/trans.txt
Escape Healme Script: http://members.cox.net/lorddeathravin/Scripts/healme.txt


[Edited on 10/19/2003 by Deathravin]

Drew2
10-20-2003, 02:10 AM
OK I just used the script to clean up another empath.. and I have to say.. that's freaking annoying.

Talk about SCROLL. I couldn't imagine healing people constantly with that thing. Sheesh

Reyek
10-20-2003, 05:28 AM
It works thats all that matters. Have a different version for Escape that works alot better with less scroll, due to the able to have unlimited matches. maybe Stormfront will be better for that. But I dont like the storing of scripts in Gemstone server idea....

Deathravin
10-20-2003, 01:24 PM
I updated my wizard transfer script, I haven't done any super-tests yet, but it looks like it should work a little better and less scrolling.

Wizard Transfer Script: http://members.cox.net/lorddeathravin/Scripts/trans.cmd

Figured it out. Works good now.

[Edited on 10/20/2003 by Deathravin]

Reyek
10-21-2003, 06:17 PM
Yea i like your changes to it. Nicely done!

Jonty
11-10-2003, 05:37 PM
I'm a few days late, but here is the script I've written for healing.

Click here to view the script. (http://www.beast-nyc.com/GemStone/PublicHeal.txt)

There is a point in the script where it matches to a label specified as "%user9" because I have access two empaths. That variable dictates whether you heal scars or not.

Set %user9 to "end" to only heal your wounds.
Set %user9 to "majorSWait" to heal everything.

Or, you can just change the script....

I've edited a couple of lines to post it for public use. So there is a slight chance there may be bugs. If anyone finds any or has suggestions/questions please notify me at jonty@beast-nyc.com

Enjoy

- Me

[Edited on 11-11-2003 by Jonty]

Nakiro
11-11-2003, 06:58 AM
All the above mentioned healing scripts suck. Feel free to use mine though.

Usage is .heal <your max blood amount #> <person's name>

Oh yah, it's got a few features the other scripts didn't. It'll account for RT if it gets stuck. It'll take wounds even if the person got them from a challange, it'll ask the person to change their demeanor, and reattempt to heal them in 10 seconds, and it'll safely take blood loss using a direct transfer, and heal your bloodloss afterwards to full.

Oh yah, it doesn't require a user variable either, so it'll work in escape or wizard. Should work in stormfront too. You'll have to change %c to %c% though. Same with save.

Okay last thing, it'll also heal your wound if you're trying to transfer something and you're not able to do it because you've already got a major wound on the area. Like, trying to take a bruised left eye when your left eye is already blind, etc.

BTW Tayre, this will have signifigantly less screen roll since it uses appraise instead of look, and you can also squelch most of the appraising to have very little to no screen roll.

It's pretty simple too. Anyway, enjoy.


__________________________________________________ ______________________

#heal.Cmd
goto appraise
appraise2:
wait
appraise:
put appraise %2
match head severe head
match head lacerations about the head
match right.eye a blinded right eye
match left.eye a blinded left eye
match right.eye a swollen right eye
match left.eye a swollen left eye
match neck bleeding from the neck
match neck moderate bleeding
match chest chest
match abdomen abdominal
match nerve case
match back back
match left.hand left hand
match right.arm right arm
match left.arm left arm
match right.hand right hand
match right.leg right leg
match left.leg left leg
match right.eye right eye
match left.eye left eye
match head the head
match neck neck
match blood1 a quick
match exit what
match transfer ...wait
matchwait

left.eye:
save left.eye
counter set 1105
goto transfer

right.eye:
save right.eye
counter set 1105
goto transfer

chest:
save chest
counter set 1105
goto transfer

abdomen:
save abdomen
counter set 1105
goto transfer

back:
save back
counter set 1105
goto transfer

head:
save head
counter set 1104
goto transfer

neck:
save neck
counter set 1104
goto transfer

nerve:
save nerve
counter set 1103
goto transfer

left.leg:
save left.leg
counter set 1102
goto transfer

right.leg:
save right.leg
counter set 1102
goto transfer

left.arm:
save left.arm
counter set 1102
goto transfer

right.arm:
save right.arm
counter set 1102
goto transfer

left.hand:
save left.hand
counter set 1102
goto transfer

right.hand:
save right.hand
counter set 1102
goto transfer

transfer:
put tran %2 %s
match transfer As you probe the wound,
match heal You must heal your
match exit Transfer from whom?
match appraise2 is transferred to you.
match demeanor doesn't look like
match appraise Nothing happens.
match transfer ...wait
matchwait

healwait:
pause 2
heal:
put prep %c
match healcure Your spell is ready.
match healwait sec
match healrelease You must RELEASE
matchwait
healcure:
put cure %s
goto %s
healrelease:
put release
goto heal

demeanor:
put whisper %2 You'll have to change your demeanor to neutral or higher if you want to be healed.
pause 10
goto %s

blood1:
counter set %1
counter subtract
save %c
counter subtract
checkblood1:
put con
match fullblood Health Points Left: %1
match okay Health Points Left: %s
match okay Health Points Left: %c
match blood2 Health Points left:
match checkblood1 Sorry, you may only type
matchwait

blood2:
counter subtract
save %c
counter subtract
checkblood2:
put con
match okay Health Points Left: %s
match okay Health Points Left: %c
match blood3 Health Points left:
match checkblood2 Sorry, you may only type
matchwait

blood3:
counter subtract
save %c
counter subtract
checkblood3:
put con
match okay Health Points Left: %s
match okay Health Points Left: %c
match blood4 Health Points left:
match checkblood3 Sorry, you may only type
matchwait

blood4:
counter subtract
save %c
counter subtract
checkblood4:
put con
match okay Health Points Left: %s
match okay Health Points Left: %c
match blood5 Health Points left:
match checkblood4 Sorry, you may only type
matchwait

blood5:
counter subtract
save %c
counter subtract
checkblood5:
put con
match okay Health Points Left: %s
match okay Health Points Left: %c
match restore Health Points left:
match checkblood5 Sorry, you may only type
matchwait

restorewait:
pause 2
restore:
put prep 1101
match restorecure Your spell is ready.
match restorewait sec
match restorerel You must RELEASE
restorecure:
put cure
pause 3
goto blood1
restorerel:
put release
goto restore

fullblood:
put tran %2
match restoredone You take all
match restore You take some
match exit Transfer from whom?
match exit Nothing happens.
matchwait

okay:
put tran %2
match restoredone You take all
match restore You take some
match restoredone Transfer from whom?
match restoredone Nothing happens.
matchwait

restoredonewait:
pause 2
restoredone:
put prep 1101
match restoredonecure Your spell is ready.
match restoredonewait sec
match restoredonerel You must RELEASE
matchwait
restoredonecure:
put cure
put con
match exit Health Points Left: %1
match restoredonewait Health Points Left:
matchwait
restoredonerel:
put release
goto restoredone

exit:
exit

Jonty
11-11-2003, 02:16 PM
>All the above mentioned healing scripts suck. Feel free to use mine though.

Um no. My script doesn't suck. It does everything you're does, and then some....


>Oh yah, it's got a few features the other scripts didn't. It'll account for RT if it gets stuck.

Mine does this.

>It'll take wounds even if the person got them from a challange, it'll ask the person to change their demeanor, and reattempt to heal them in 10 seconds,

This never really came to mind for me since I havne't run into those situtations. But since I'm posting my script for the public, I borrowed those two ideas from you ;) , 'cept I have it whisper and wait for the string "go!" to continue after demeanor stops, instead of continuing to try to transfer and whisper.

>and it'll safely take blood loss using a direct transfer, and heal your bloodloss afterwards to full.

Mine also does this, just differently than yours. It only heals your blood while transfering if it sees that you're feeling faint or weakened. After your done transfering it'll take care of the rest of the blood while you heal yourself down.

>Oh yah, it doesn't require a user variable either, so it'll work in escape or wizard.

Um, user variables work in eScape and StormFront.... Just like in the Wizard FE, you have to set them....

In any case, I took them out since they were for my personal use. If someone wants to add in a choice of where to stop healing yourself, they can edited it themselves. If you can't even heal scars the script will stop anyway.

>Should work in stormfront too. You'll have to change %c to %c% though. Same with save.

Yes, it works in StormFront. I created another version for it.

>Okay last thing, it'll also heal your wound if you're trying to transfer something and you're not able to do it because you've already got a major wound on the area. Like, trying to take a bruised left eye when your left eye is already blind, etc.

Again, mine does this already.

Scripts:
Click here to view the Wizard FE version. (http://www.beast-nyc.com/GemStone/PublicHeal.txt)
Click here to view the StormFront/eScape version. (http://www.beast-nyc.com/GemStone/PublicHealSF.txt)

I've edited a couple of lines to post it for public use. So there is a slight chance there may be bugs. If anyone finds any or has suggestions/questions please notify me at jonty@beast-nyc.com (jonty@beast-nyc.com ).

Enjoy

- Me

[Edited on 11-11-2003 by Jonty]

[Edited on 11-11-2003 by Jonty]

Tendarian
11-11-2003, 02:23 PM
Dueling healing scripts! I keep hearing banjos in my head for some reason.

Nakiro
11-11-2003, 06:47 PM
Mine obviously wins. I mean.... look at it! It's the best one yet!

Nak

Nakiro
11-11-2003, 06:56 PM
As for Jonty's script, there are a few things I don't like (hence why I didn't encorperate them into my own).

Using EXP. Stinks mainly because its a lot of unnecessary screen roll.

matching "head", mainly because it is one of the last things to match since it's one of the biggest exp gaining wounds, and second because there are a bunch of people who have "head" in their name putting the string into a loop.

It's possible to use mana to check for available mana, but you have to do a dobule string and it makes for a longer script. The benifit though is less screen roll. Heh, if they'd just change mana to give out your current mana followed by max mana (instead of max followed by current) the script would work a lot better. Another good alternative would be to try send <self> <amount>. You get three different messages depending on if you have enough mana, if you don' thave enough mana, or if you're too injured to send. The latter is what ruins the possiblity of this method.

I'd rather just have the script repeatedly attempt to transfer and keep checking their demeanor. I suppose I could script in something where it checks demeanor over and over, waiting for them to change to a better demeanor. Right now I'm too lazy, maybe tonight though.

Mine also doesn't heal scars, which makes it a different beast all together in some respects.

Nak

Jonty
11-11-2003, 10:54 PM
Yeah, using the mana command would create less screen roll for you when you're checking your mana for your spells. But the screen roll from the EXP command doesn't bother me as much as having TONS fo code in my script. I like to condense them as much as possible while not reducing the functionality of the script. I saved a script you posted on the official boards that used the mana method. 900 lines of code, ouch. Not my taste. The EXP scroll doesn't bother me much. The scroll that does bother me sometimes is the scroll from the health command.

Sending to yourself, like you pointed out, doesn't work well for empths. I'd use that method for spell up scripts. Or maybe spell hunting script if I ever need one. It's a pretty easy and simple way to check mana. I like it.

As for matching head while appraising, I've never ran into a problem with someones name looping my script. But good to know. I've changed mine now. Got two match head lines now. "severe head" and "the head".

I 've never really cared about the location of the match lines for appraise in reference to experience. I dont compete for it. The only places I heal are places where there are no free for all healing. If I'm healing someone, I'm healing all of them. Unless of course, I feel like helping a younger one by giving them the minor wounds.

The demeanor thing..., I don't really have a problem with trying to transfer repeatedly, but the whispering thing I wouldn't want to do repeatedly, I'd be rather annoyed if someone kept whispering to me to change my demeanor. Of course, you have the escape button to stop it. I think I'm going to make it check demeanor repeatedly instead so I only creat scroll for myself and not the patient.

>Mine also doesn't heal scars, which makes it a different beast all together in some respects.


From what I'm seeing, your script only transfers wounds, heals your blood, and heals your wounds only if they are to severe to transfer another on top of it.

I think you've over looked a match line in your appraise section. Perhaps you've not encountered an RT problem there yet to catch it.

match transfer ...wait

I think you mean to have:

match appraise2 ...wait

- Jonty

Nakiro
11-12-2003, 12:31 AM
Yep, the longer code aspect really does stink. I try to avoid it as much as possible, heh.

I asked that they'd revise the mana command so that I'd place inicial mana first, max mana second. If they do that, the mana command will be a lot more useful for scripting since you can actually have a reference after the number to do a match with.

Hopefully the change will go through. If it does it'll make scripting a lot more condensed.

Jonty
11-12-2003, 11:36 AM
Good luck. I really hope they do.

- Jonty

GarrsSoul
11-13-2003, 04:41 PM
Theotherjohn...


You're script keeps asking my friend this:

*** About to heal down to scar. ***
*** Do you want to? ***
*** aye? nae? ***

She doesn't know how to answer it to get the script to continue to do things...So what should I tell her?

Reyek
11-13-2003, 06:15 PM
Have you tried answering.. Aye?

GarrsSoul
11-13-2003, 06:34 PM
I told her that when she first came to me with the problem....


It didn't work, obviously.

Reyek
11-13-2003, 08:59 PM
works for everyone else that runs it. just edit it so that it doesnt ask

Miss X
11-14-2003, 06:33 PM
does your friend have her tone set to anything Garr? You have to have tone set to none for it to work, that might be the problem.
Vx

Reyek
11-15-2003, 02:35 AM
actually it should work with any tone. its just looking to match "aye" or "nae" doesnt care what tone your in or if its a verbal or not. just as long as the letters "aye" or "nae" is out there. :)

Deathravin
12-18-2003, 11:01 AM
Maybe we should have a monitor post at the header (sort of like the "how to script" post) that has all the best scripts (or just all the scripts) so people wont ask for these scripts over an over.

Try the healing scripts at my quazi web site.

http://members.cox.net/lorddeathravin/

It has the wizard and escape/stormfront versions of the healing, and healdown script.

-Deathravin