ScriptUO

Scripting Resources & Utilities => Stealth Client => Stealth scripts => Topic started by: dxrom on October 10, 2012, 01:08:11 PM

Title: [V4 , Pascal] [UO:R FS] dxrom's Heal Another
Post by: dxrom on October 10, 2012, 01:08:11 PM
Here is another healing script. Basically used to heal other players... Say for example you are macroing on one chr, and they are taking dmg from it... Or you need to train healing on someone. This is what that would be used for.

I've completely overhauled this script and added the support of healing an additional persons. I require people to test it however (as I have not yet tested it on two persons). You can however still use it to heal only one person, the option is there for a second though.

It's pretty straight forward, healTAR1 is first person you want healed, healTAR2 is the second. the number following is their percentage of health remaining.

CheckTarget(healTAR1,60); means to check healTAR1 and if they are under 65% hp, heal them.

ICQNum is the ICQ number for your MAIN ICQ that stealth will be ALERTING (If you chose to use this ofcourse, if not then // the ICQClient() parts. NOT THE PROCEDURE!)
ICQClientNum is the number of the ICQ account stealth will connect with in order to send you an alert.
ICQClientPW is the password associated with the ICQ account stealth will connect with in order to send you an alert.

Known bugs:
function Exit; doesn't care to do what it's supposed to do. *grumbles*
Title: Re: Heal Another (Updated to heal TWO mobiles)
Post by: dxrom on May 09, 2013, 01:48:50 PM
Updated
Title: Re: Heal Another (Updated to heal TWO mobiles)
Post by: Crome969 on May 10, 2013, 10:43:47 AM
try :
Code: [Select]
exit;
to jump out of a function and

Code: [Select]
raiseException(erCustomError, 'for example, script stop');
To Stop a script *giggles*

else good work:)
Title: Re: Heal Another (Updated to heal TWO mobiles)
Post by: dxrom on May 10, 2013, 03:49:10 PM
Ah tyty :>
Title: Re: Heal Another (Updated to heal TWO mobiles)
Post by: dxrom on May 10, 2013, 04:20:30 PM
Updated.