Hey Guys,
Most of you will most likely not know me because I am new and have only been learning SCAR for about a week now.
Since the new Runescape updates (Summoning), alot of changes have been made. Eg: New Gametab(4); interface, New logout.
So I was bored and made this new logout procedure.
NAME: NewLogout;
Made By: Turbobk
SCAR Code:
procedure NewLogout;
begin
if (FindColorTolerance(x, y, 3985241, 746, 1, 761, 7, 5)) then
begin
MMouse(x, y, 5, 5);
GetMousePos(x, y);
begin
if (IsUpText('Logout')) then
begin
ClickMouse(x, y, true);
Wait(33 + random(25));
ReleaseMouse(x, y, true);
end;
Wait(500 + random(500));
end;
end;
begin
MMouse(632, 377, 15, 15);
GetMousePos(x, y);
begin
if (IsUpText('Ok')) then
begin
ClickMouse(x, y, true);
Wait(33 + random(25));
ReleaseMouse(x, y, true);
Wait(500 + random(500));
end;
WriteLN('Logged out player, '+Players[0].Name+'.');
end;
end;
end;
Hope you like it, let me know.
Thanks,
Turbobk.