SRL Archive - OSR Help

Random world switcher


Peanuts

2013-05-22 08:56:54


ExitToLobby;
OpenWorldScreen;
ChangeWorld(RandomWorld(false, false));

//RandomWorld(True, false);

Tried both..

Neither do anything!

Why does it not log in ! RAH.

EDIT: Sorry im really stoned.
I just realized i could easily look through other scripts n solve my issue. Will do now.

Thief

2013-05-22 09:29:03

You could use something like this, I modified it from someone else's script and works fine for me.

Procedure WorldHop;
begin
if ExitToLobby then
begin
repeat
wait(10);
until LobbyScreen;
if OpenWorldScreen then
ChangeWorld(RandomWorld(True,False));
repeat
wait(10);
until LoggedIn;
end;
end;