AideniRS
2012-05-04 04:31:26
So Im just trying to create a simple Slay assist to use on my main..
Ive tried ClickMouse2 and normal ClickMouse just to test, when I remove them it no longer switches back to Simba and it just stays on RS, what am I doing wrong?
program SlayAssist;
{$i srl/srl.simba}
{$i sps/sps.simba}
const
RenewPray = 550;
Procedure CheckPray;
var
X, Y:Integer;
S:String;
begin
if (GetMMLevels('Pray', S) < RenewPray) then
begin
repeat
FindColor(X, Y, 8103474, 566, 213, 719, 278);
WaitUptext('Drink', 200);
ClickMouse2(1);
Wait(2500+Random(100));
until(GetMMLevels('Pray', S) > RenewPray)
end else;
end;
begin
SetupSRL;
ActivateClient;
Repeat
CheckPray;
Until(false);
end. Probably a small mistake that I cant realize but, Im using Simba to control RS Client and when I start it, it switches to RS and then once the ClickMouse2 is called, it opens Simba back up and then spam clicks the mouse.Ive tried ClickMouse2 and normal ClickMouse just to test, when I remove them it no longer switches back to Simba and it just stays on RS, what am I doing wrong?