AntiBan

The Antiban include contains functions to help eliminate bans.

LeaveDangerZone

function LeaveDangerZone: Boolean;

Handles the ‘danger zone’ message users get when their total level is < 60

Note

Author: Coh3n Last Modified: Unknown

Example:

if LeaveDangerZone then
ContinueWalking;

RandomRClick

procedure RandomRClick

Performs random right click to stay active.

Note

Author: phantombmx/EvilChicken!, idea by Naum Last Modified: Unknown

Example:

RandomRClick;

HoverSkill

procedure HoverSkill(Skill: variant; Click: Boolean);

Hovers mouse over selected skill to “check exp” Click = True will Click Skill and Click = False will ‘Hover’. Won’t “check” skills where your level is 1.

Note

Author: Dankness/Cheesehunk/Ron/Raymond/ZephyrsFury Last Modified: December 09 by Coh3n

Example:

HoverSkill(skill_Atack, False);

PickUpMouse

procedure PickUpMouse;

Acts just like you picked your mouse off the pad... then sets it back down.

Note

Author: dark_sniper Last Modified: Unknown

Example:

PickUpMouse;

SetScreenMouse

function SetScreenMouse(Direction, CameraAngle: Variant): Boolean;
Aligns RS to specified direction and camera angle using the middle mouse button.
  • Direction: ‘n’, ‘s’, ‘e’, ‘w’ or any degree angle. Accepts ‘random’ and ‘rand’, or ‘’ for no movement.
  • CamerAngle: any number from 1 to 10 (1 = lowest angle), or ‘1’, ‘10’. Accepts ‘’ for no movement.

Note

by Home & euphemism

Example:

MissMouse

procedure MissMouse(eX, eY: Integer);

Human-like miss-and-correct mouse movement.

Note

Author: Flight Last Modified: 30 Dec. 2011

Example:

RandomMovement;

MultiMouse

function MultiMouse(x, y, chance, maxClicks: integer; red: boolean): boolean;

Will simulate “spam” clicking on the point x, y. Will do it a random amount between 1 and ‘maxClicks’. Will click once no matter what, then has a percent ‘chance’ of clicking again after that. Will not exceed ‘maxClicks’. if ‘red’ then will return true if the red X appears after clicking an object, else will return true after clicking.

Note

Author: Coh3n
Last Updated: 21 July 2011 by Coh3n

Example:

if (waitUptext('ree', 200)) then
  MSI_MultiMouse(x, y, 35, 5, true);

RandomMovement

procedure RandomMovement;

Presses random arrow keys and moves the mouse. Able to press 2 keys simultaneously.

Note

Author: Krazy_Meerkat Last Modified: Unknown

Example:

RandomMovement;

CompassMovement

function CompassMovement(MinMovement, MaxMovement: Integer; Return: Boolean): Boolean;

Rotates the compass somewhere between MinMovement and MaxMovement. Will return to original angle if Return is set to true.

Note

Author: Nebula Last Modified: Mar. 6th, 2011 by Nebula

Example:

CompassMovement(10, 30, true);

BoredHuman

procedure BoredHuman;
Performs 5-15 times:
  • Rotates the cam,
  • Moves the mouse around MainScreen,
  • If it finds IsUpText(‘option’), it will Chooseoption(‘Examine’);

Note

Author: WT-Fakawi, small edit by Harry Last Modified: Unknown

Example:

BoredHuman;

ExamineInv

procedure ExamineInv;

Chooses a random item in the inventory to examine.

Note

Author: R1ch Last Modified: Unknown

Example:

ExamineInv;

RandomAngle

procedure RandomAngle(HowToEnd: Variant);

Randomly changes the angle of the compass. Finishes depending on

HowToEnd:
1, ‘up’, True = Highest angle 2, ‘down’, False = Lowest angle

Put ‘’ to leave it as it is.

Note

Author: R1ch

Example:

RandomAngle(1);

AdjustMouseSpeed

procedure AdjustMouseSpeed(Amount, MinMS, MaxMS: Integer);

Randomly changes the mousespeed by the amount (+/-) within the min and max mousespeed limit.

Note

Author: Ollybest

Example:

AdjustMouseSpeed(3, 10, 20);

RandomFKeys

procedure RandomFKeys(Return: Boolean)

Randomly changes tabs using fkeys to simulate a human pressing fkeys quickly. Will return to the original tab if Return is set to true.

Note

Author: Ollybest

Example:

RandomFKeys(True);

RandomTab

procedure RandomTab;

Switches to a random gametab, more of a 50% chance of switching to a more used tab. Will return to the original tab if Return is set to true.

Note

Author: Ollybest

Example:

RandomTab(True);

HoverOnlineFriend

procedure HoverOnlineFriend;

Hovers a random online friend (if any are online)

Note

Author: Ollybest

Example:

HoverOnlineFriend;

HoverMovingObject

procedure HoverMovingObject;

Splits the screen up into boxes and hovers the one with the most pixel shift in.

Note

Author: Ollybest

Example:

HoverMovingObject;

MMouseOffClient

procedure MMouseOffClient(Direction: String);
Moves the mouse off the client in the set direction.
  • Vaild Directions: ‘top’, ‘bottom’, ‘left’, ‘right’ or accepts ‘random’ and ‘rand’ for a random direction.

Note

Author: Ollybest

Example:

MMouseOffClient('top');

SmallRandomMouse

procedure SmallRandomMouse;

Randomly moves the mouse in a max radius of 80 of its current postion, has alot of gravity and wind so it can simulate a human flicking/spiraling the mouse.

Note

Author: Flight (edit to work with SRL5 by Ollybest)

Example:

SmallRandomMouse;

DragRandomInvSlot

procedure DragRandomInvSlot;

Moves an item in your invent to another free slot, if your script relys on static inv slots its suggested not to use.

Note

Author: Ollybest

Example:

DragRandomInvSlot;

LevelUpEx

function LevelUpEx(ClickCont, ClickSkill: Boolean): Boolean;

Returns true if the player has gained a level. If ClickCont is set to true it will click the continue button in the chat box. If ClickSkill is set to true, it will click the skill and exit the window.

Note

Author: Flight

Example:

if (LevelUpEx(false, true)) then
  inc(Players[CurrentPlayer].Integers[10]);

LevelUp

function LevelUp: Boolean;

Returns true if the player has gained a level. Will click the “click to continue” button in the chat box.

Note

Author: Flight

Example:

if (LevelUp) then
  inc(Players[CurrentPlayer].Integers[10]);

FindMod

function FindMod: Boolean;

Results true if a mod is found talking in the chat box. Will logout and wait if LogoutOnMod (global boolean) is set to true.

Note

Author: Stupid3ooo

Example:

FindMod();

FindDead

function FindDead: Boolean;

Logs out and sets the current player to false if they are found dead. Will not logout if Reincarnate (global boolean) is set to true.

Note

Author: Stupid3ooo and Cazax

Example:

FindDead();

FindDwarvenPopup

function FindDwarvenPopup: Boolean;

A simple functinds and closes the “please buy RS Members” popup that happens when you reach lvl 10 in any skill.

Note

Author: Harry

Example:

FindDwarvenPopup();

ExitSquealOfFortune

function ExitSquealOfFortune(): boolean;

Finds and exits the annoying Squeal of Fortune pop up.

Note

Author: Coh3n & Ashaman88 Last Modified: July 28th, 2012 by Coh3n

Example:

ExitSquealOfFortune();

FindSpinTicketObj

function FindSpinTicketObj(var x,y : Integer): Boolean;

Find spin ticket object.

Note

Author: Kyle Undefined Last Modified: Feb. 1st 2013 by slushpuppy

Example:

FindSpinTicketObj(x,y);

FindSpinTicket

function FindSpinTicket(): Boolean;

Finds and exits the annoying Squeal of Fortune pop up.

Note

Author: Kyle Undefined Last Modified: Apr. 3rd, 2012 by Coh3n

Feb. 1st 2013 by slushpuppy

Example:

FindSpinTicket();

FindAndDestroySpinTicket

function FindAndDestroySpinTicket: Boolean;

Finds and destroys any sof spin tickets.

Note

Author: Kyle Undefined Last Modified: Feb. 1st 2013 by slushpuppy

Example:

FindAndDestroySpinTicket();

CloseAdWindow

function CloseAdWindow(): Boolean;

Finds and exits the wicked hood and dwarven army axe pop up ads.

Note

Author: litoris Last Modified: September 2nd, 2012 by litoris

Example:

CloseAdWindow();