Code: Select all
const
Msg1 = 'Annoy someone else!';
var
tmptime : TDateTime;
Procedure Bolt;
Begin
repeat
if (Life < MaxLife) then UOSay('GUARDS');
if WarMode then SetWarMode(false);
if targetpresent then CancelTarget;
FindDistance := 1;
tmptime := Now;
if FindType($0190, ground) > 0 then
begin
UseSkill('Begging');
wait(500);
WaitTargetObject(FindType($0190, ground));
end;
if FindType($0191, ground) > 0 then
begin
UseSkill('Begging');
wait(500);
WaitTargetObject(FindType($0191, ground));
end;
until InJournalBetweenTimes(Msg1, tmptime, Now)<>-1;
End;