Lol. Funny you should say that.
I did that just today.
Lemme bring it up...
SCAR Code:
{*******************************************************************************
procedure LogMeOut;
By: Jason2gs
Description: Used as an RC to tell the active slave to logout.
*******************************************************************************}
procedure LogMeOut;
begin
wait(500+random(200));
if(InChat('pullout'))then
begin
Logout;
end;
end;
It's so I can tell my slave (bot) to "Pullout" (log out) either from a different computer, or from the computer I'm autoing on, without having to stop the script alltogether.
All you have to do is place the procedure in a SCAR script in one of the SRL include files. Like mine is... SRL/SRL/core.scar
There's no need to put it in the {...} style though, it's already in the SRL/SRL.scar include.