Works great on this shard.
For version 1 this is great, for a future version I may integrate
the specific journal messages. I still don't know how to detect recent messages,
and not old messages in journal.
InJournalBetweenTimes
^ function seems confusing still... how do I calculate recent times and feed them into the arguments?
Program SimpleHeal;
Const mes = 'Char is hurt!';
mespos = 'Char is poisoned';
begin
WHILE ( Connected() = True ) DO
BEGIN
IF (( ( Poisoned() = True ) OR ( HP < MaxHP ) ) AND ( Hidden() = False ) ) THEN
BEGIN
addtosystemjournal (Mes + mespos);
UOSay('[aid'); // Requiem heal system
WaitTargetSelf(); // Waits for target, THEN targets self.
Wait(10500); // temporary time interval till healing is done
END;
Wait(50);
END;
end.
Post Merge: November 16, 2018, 07:49:20 AM
Oh btw based on Crome969 's old script, thanks for the template!

Post Merge: November 16, 2018, 07:55:40 AM
Added a case/placeholder for what to do IF poisoned.
Not sure yet on this shard, will figure out.
Guessing probably some potion, so then have to do - find if there's itemtype in pack...
Program SimpleHeal;
Const mes = 'Char is hurt!';
mespos = 'Char is poisoned';
begin
WHILE ( Connected() = True ) DO
BEGIN
IF (( ( Poisoned() = True ) OR ( HP < MaxHP ) ) AND ( Hidden() = False ) ) THEN
BEGIN
addtosystemjournal (Mes);
if (Poisoned) THEN
BEGIN
addtosystemjournal (mespos);
END;
UOSay('[aid'); // Requiem heal system
WaitTargetSelf(); // Waits for target, THEN targets self.
Wait(10500); // temporary time interval till healing is done
END;
Wait(50);
END;
end.