I'd like a Fire rune runner starting from dual arena bank to the fire altar and back in a loop. It can use bank presets. I tried looking into the tutorial section and I want to get into scripting myself. I just don't know what scripting language this is in. I think it would be cool for this to be my first script and I hope someone could point me in the right direction of where to start, or if you make the script thats fine to.
EDIT: This is my progress so far on the script. I've had so much fun learning and making it I stayed up too long so I will finish tomorrow. If anyone has any ideas for me to make it better please tell me. Its not flawless yet. It gets caught up at the altar itself trying to find the craft option.
Code:program FireRunner;
{$DEFINE SMART}
{$i srl-6/srl.simba}
{$i sps/lib/sps-rs3.simba}
{$i srl-6/lib/misc/srlplayerform.simba}
procedure bank();
begin
bankScreen.open(BANK_CHEST_DUEL);
end;
procedure preset();
begin
if bankScreen.open(BANK_CHEST_DUEL) then
bankScreen.clickButton(BANK_BUTTON_PRESET_1) // Grabs Rune Ess
else
writeLn('Couldn''t find the bank for some reason!');
end;
procedure compass();
var
compassBox: TBox;
begin
compassBox := intToBox(590, 25, 602, 42);
wait(randomRange(1000, 2000));
mouseBox(compassBox, MOUSE_LEFT);
mainScreen.setAngle(MS_ANGLE_HIGH);
end;
procedure runToAltar();
var
pathToAltar: TPointArray;
begin
if not isLoggedIn() then
exit;
pathToAltar := [Point(137, 167), Point(106, 150), Point(82, 113), Point(78, 84)];
if SPS.walkPath(pathToAltar) then
minimap.waitPlayerMoving()
else
writeLn('We failed to walk to the Altar');
end;
procedure clickRuins();
var
x, y: integer;
begin
if mainscreen.findObject(x, y, 7716601, 11, ['sterio'], MOUSE_RIGHT) then
begin
chooseOption.select(['nter']); // Enters Ruin
wait(randomRange(3000, 5000));
end;
end;
procedure craft();
var
x, y: integer;
begin
if mainscreen.findObject(x, y, 6779249, 110, ['Altar'], MOUSE_RIGHT) then
begin
chooseOption.select(['raft']); // Crafts runes
end;
end;
procedure exitPortal();
var
x, y: integer;
begin
if mainscreen.findObject(x, y, 1718167, 110, ['orta'], MOUSE_RIGHT) then
begin
chooseOption.select(['nter']); // Leaves Ruins
end;
end;
procedure goto(); // Stands by altar
var
Square: TBox;
begin
Square := intToBox(463, 335, 519, 379);
wait(randomRange(1000, 3000));
mouseBox(Square, MOUSE_LEFT);
end;
begin
clearDebug();
setupSRL();
SPS.setup('FIRE_RUNE', RUNESCAPE_OTHER);
compass();
bank();
preset();
runToAltar();
clickRuins();
goto();
craft();
exitPortal();
end.

