Client

The Client file holds functions that have anything to do with the RS client or client settings.

The source for this file can be found here.

isClientReady

function isClientReady(): Boolean;

Returns true if the client is ready (i.e., login screen, lobby, or logged in).

Note

  • by ZephyrsFury
  • Last updated: 22 July 2013 by Coh3n

Example:

while (not isClientReady()) do
  sleepAndMoveMouse(100 + Random(500));

waitClientReady

function waitClientReady(): boolean;

Waits up to 5 minutes until the client is ready.

Note

  • by Coh3n
  • Last updated: 18/04/2012 by Ollybest

Example:

if waitClientReady() then
  writeln('Client is ready!');