This will fully log out the player. I just added a GetColor/Mouse for the big X in the lobby. I also edited the ClickText from 'here' to 'obby'. I'm assuming I don't have the explain why. 
It can be further edited with a Boolean parameter to determine whether to fully logout, or just go to the lobby (would be useful for breaking and such). I didn't do this because I didn't know how many times Logout is used throughout SRL. I didn't want to cause a bunch of compiling errors.
SCAR Code:
function Logout: Boolean;
var
c, i: Integer;
begin
Result := (not (LoggedIn));
if Result = True then
Exit;
if (SRL_Procs[srl_OnLogOut] <> nil) then
SRL_Procs[srl_OnLogOut]();
if GameTab(tab_LogOut) = False then
Exit;
Wait(200 + Random(100));
while (LoggedIn) and (c < 10) do
begin
Inc(c);
if(ClickText('obb', UpChars, MIX1, MIY1, MIX2, MIY2, True))then
for i := 0 to 10 do
begin
Wait(1000);
if not(LoggedIn)then
if (GetColor(688, 34) = 6388871) then // here :)
begin
Mouse(688, 34, 12, 12, True);
Result := True;
Exit;
end;
end;
end;
end;
Comments?