Program myhumidify
{$Define SMART}
{$I SRL-OSR/SRL.Simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := 'a';
Pass := 'a';
Pin := 'a';
WorldInfo := [a];
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Slayer;
Active := True;
Nick := 'a';
end;
end;
//Remember: Script does not kick out when out of runes
//Script starts logged in with empty fishbowl (1 click empty) in 5th invy spot
Procedure Humid
begin
repeat
if (gameTabs.isTabActive(TAB_BACKPACK)) then
begin
gameTabs.openTab(TAB_MAGIC); //opens magic tab
MMouse(568, 252,RandomRange(3, 3), RandomRange(3, 1)); //moves to spell
ClickMouse2(mouse_left); //clicks cast spell
gameTabs.openTab(TAB_INVENTORY); //switches to invy
MMouse(582, 262,RandomRange(3, 2), RandomRange(3, 4)); //moves to empty bowl
Wait(RandomRange(1700, 1850)); //waits for long spell animation
ClickMouse2(mouse_left); //clicks empty bowl, you have an empty fishbowl again and are at the backpack, script repeats
end;
end;
//Antiban to come
Begin
SetupSRL;
StartUp;
repeat
if (isLoggedIn(True)) then //if logged in then start humid procedure
begin
wait(400);
Humid;
end;
else
begin
if (isLoggedIn(False)) then //if not logged in then begin login procedure
begin
DeclarePlayers; //will this log me in? i'm just hoping that starting declareplayers with my info filled out would get it working
end;
end;
end.