WRoss
11-27-2009, 04:57 AM
Being a beta tester of the new Psinet, I'm going to try to provide a few examples of some scripts so that when it is released, there are some working scripts people can look at or just use. I'll be working with Jamus and hopefully someone else in the near future to modify this into a full blown heal script. I'll try and post in here to explain the progression.
Notes: This eliminates the screen scroll caused by the traditional heal script that is floating around. What I mean by that is that it does not require constant checks of the HEAL command. There is no mana check, yet. It does not heal in order of necessity, exp, or areas that are bleeding, yet.
*************************
while(%me.health < %me.maxhealth){
put prep 1101
waitfor You focus
put cure
pause 3
}
while(%me.body.rightleg.wound > 0) {
put prep 1102
waitfor You concentrate
put cure right leg
pause 3
}
while(%me.body.leftleg.wound > 0) {
put prep 1102
waitfor You concentrate
put cure left leg
pause 3
}
while(%me.body.rightarm.wound > 0) {
put prep 1102
waitfor You concentrate
put cure right arm
pause 3
}
while(%me.body.righthand.wound > 0) {
put prep 1102
waitfor You concentrate
put cure right hand
pause 3
}
while(%me.body.leftarm.wound > 0) {
put prep 1102
waitfor You concentrate
put cure left arm
pause 3
}
while(%me.body.lefthand.wound > 0) {
put prep 1102
waitfor You concentrate
pure cure left hand
pause 3
}
while(%me.body.nerves.wound > 0) {
put prep 1103
waitfor You concentrate
put cure nerves
pause 3
}
while(%me.body.head.wound > 0) {
put prep 1104
waitfor You concentrate
put cure head
pause 3
}
while(%me.body.neck.wound > 0) {
put prep 1104
waitfor You concentrate
put cure neck
pause 3
}
while(%me.body.righteye.wound > 0) {
put prep 1105
waitfor You concentrate
put cure right eye
pause 3
}
while(%me.body.lefteye.wound > 0) {
put prep 1105
waitfor You concentrate
put cure left eye
pause 3
}
while(%me.body.chest.wound > 0) {
put prep 1105
waitfor You concentrate
put cure chest
pause 3
}
while(%me.body.abdomen.wound > 0) {
put prep 1105
waitfor You concentrate
put cure abdomen
pause 3
}
while(%me.body.back.wound > 0) {
put prep 1105
waitfor You concentrate
put cure back
pause 3
}
while(%me.body.rightleg.scar > 0) {
put prep 1111
waitfor You concentrate
put cure right leg
pause 3
}
while(%me.body.leftleg.scar > 0) {
put prep 1111
waitfor You concentrate
put cure left leg
pause 3
}
while(%me.body.rightarm.scar > 0) {
put prep 1111
waitfor You concentrate
put cure right arm
pause 3
}
while(%me.body.righthand.scar > 0) {
put prep 1111
waitfor You concentrate
put cure right hand
pause 3
}
while(%me.body.leftarm.scar > 0) {
put prep 1111
waitfor You concentrate
put cure left arm
pause 3
}
while(%me.body.lefthand.scar > 0) {
put prep 1111
waitfor You concentrate
put cure left hand
pause 3
}
while(%me.body.nerves.scar > 0) {
put prep 1112
waitfor You concentrate
put cure nerves
pause 3
}
while(%me.body.head.scar > 0) {
put prep 1113
waitfor You concentrate
put cure head
pause 3
}
while(%me.body.neck.scar > 0) {
put prep 1113
waitfor You concentrate
put cure neck
pause 3
}
while(%me.body.righteye.scar > 0) {
put prep 1114
waitfor You concentrate
put cure right eye
pause 3
}
while(%me.body.lefteye.scar > 0) {
put prep 1114
waitfor You concentrate
put cure left eye
pause 3
}
while(%me.body.chest.scar > 0) {
put prep 1114
waitfor You concentrate
put cure chest
pause 3
}
while(%me.body.abdomen.scar > 0) {
put prep 1114
waitfor You concentrate
put cure abdomen
pause 3
}
while(%me.body.back.scar > 0) {
put prep 1114
waitfor You concentrate
put cure back
pause 3
}
Notes: This eliminates the screen scroll caused by the traditional heal script that is floating around. What I mean by that is that it does not require constant checks of the HEAL command. There is no mana check, yet. It does not heal in order of necessity, exp, or areas that are bleeding, yet.
*************************
while(%me.health < %me.maxhealth){
put prep 1101
waitfor You focus
put cure
pause 3
}
while(%me.body.rightleg.wound > 0) {
put prep 1102
waitfor You concentrate
put cure right leg
pause 3
}
while(%me.body.leftleg.wound > 0) {
put prep 1102
waitfor You concentrate
put cure left leg
pause 3
}
while(%me.body.rightarm.wound > 0) {
put prep 1102
waitfor You concentrate
put cure right arm
pause 3
}
while(%me.body.righthand.wound > 0) {
put prep 1102
waitfor You concentrate
put cure right hand
pause 3
}
while(%me.body.leftarm.wound > 0) {
put prep 1102
waitfor You concentrate
put cure left arm
pause 3
}
while(%me.body.lefthand.wound > 0) {
put prep 1102
waitfor You concentrate
pure cure left hand
pause 3
}
while(%me.body.nerves.wound > 0) {
put prep 1103
waitfor You concentrate
put cure nerves
pause 3
}
while(%me.body.head.wound > 0) {
put prep 1104
waitfor You concentrate
put cure head
pause 3
}
while(%me.body.neck.wound > 0) {
put prep 1104
waitfor You concentrate
put cure neck
pause 3
}
while(%me.body.righteye.wound > 0) {
put prep 1105
waitfor You concentrate
put cure right eye
pause 3
}
while(%me.body.lefteye.wound > 0) {
put prep 1105
waitfor You concentrate
put cure left eye
pause 3
}
while(%me.body.chest.wound > 0) {
put prep 1105
waitfor You concentrate
put cure chest
pause 3
}
while(%me.body.abdomen.wound > 0) {
put prep 1105
waitfor You concentrate
put cure abdomen
pause 3
}
while(%me.body.back.wound > 0) {
put prep 1105
waitfor You concentrate
put cure back
pause 3
}
while(%me.body.rightleg.scar > 0) {
put prep 1111
waitfor You concentrate
put cure right leg
pause 3
}
while(%me.body.leftleg.scar > 0) {
put prep 1111
waitfor You concentrate
put cure left leg
pause 3
}
while(%me.body.rightarm.scar > 0) {
put prep 1111
waitfor You concentrate
put cure right arm
pause 3
}
while(%me.body.righthand.scar > 0) {
put prep 1111
waitfor You concentrate
put cure right hand
pause 3
}
while(%me.body.leftarm.scar > 0) {
put prep 1111
waitfor You concentrate
put cure left arm
pause 3
}
while(%me.body.lefthand.scar > 0) {
put prep 1111
waitfor You concentrate
put cure left hand
pause 3
}
while(%me.body.nerves.scar > 0) {
put prep 1112
waitfor You concentrate
put cure nerves
pause 3
}
while(%me.body.head.scar > 0) {
put prep 1113
waitfor You concentrate
put cure head
pause 3
}
while(%me.body.neck.scar > 0) {
put prep 1113
waitfor You concentrate
put cure neck
pause 3
}
while(%me.body.righteye.scar > 0) {
put prep 1114
waitfor You concentrate
put cure right eye
pause 3
}
while(%me.body.lefteye.scar > 0) {
put prep 1114
waitfor You concentrate
put cure left eye
pause 3
}
while(%me.body.chest.scar > 0) {
put prep 1114
waitfor You concentrate
put cure chest
pause 3
}
while(%me.body.abdomen.scar > 0) {
put prep 1114
waitfor You concentrate
put cure abdomen
pause 3
}
while(%me.body.back.scar > 0) {
put prep 1114
waitfor You concentrate
put cure back
pause 3
}