nero_dante
2015-03-05 07:30:10
Hey I'm very new to the scripting, been using other scripts for ages, but its time I try and give back. However getting stuck on the very basics lol. This is the script I have so far but I can't seem to put pauses in the script. (it is a very basic clicking script for the Burthorpe agility course, as I am just going one step at a time.
program new;
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
procedure WalkLogBeam();
var
logBeam: Tbox;
begin
LogBeam := intTobox(286, 50, 293, 180);
mouseBox(LogBeam, MOUSE_LEFT);
WriteLn('Walking over LogBeam')
end; [COLOR="#0000FF"]// Can't seem to put a wait here..... I tried typing [COLOR="#FF0000"]wait(randomrange(3800,4200));[/COLOR]But it says it's an error[/COLOR]
procedure ClimbUpWall();
var
Wall: Tbox;
begin
Wall := intTobox(277, 76, 305, 99);
mouseBox(Wall, MOUSE_LEFT);
WriteLn('Climbing up wall')
end;
Procedure WalkAcrossBalancingLedge();
var
Ledge: Tbox;
begin
Ledge := intTobox(156, 146, 182, 152);
mouseBox(Ledge, MOUSE_LEFT);
WriteLn('Walking across Balancing Ledge')
end;
procedure ClimbOverLowWall();
var
LowWall: Tbox;
begin
LowWall :=intTobox(235, 209, 251, 299);
mouseBox(LowWall, MOUSE_LEFT);
WriteLn('Climbing over low wall')
end;
begin
clearDebug();
setupSRL();
WalkLogBeam();
ClimbUpWall();
WalkAcrossBalancingLedge();
end.