ownedlikenoob
2010-06-28 09:45:03
How Could I make a method that logs out, Chooses a random world, but not the one you were just in, and logs back in?
2010-06-28 09:45:03
2010-06-28 09:48:05
From: ownedlikenoob
How Could I make a method that logs out, Chooses a random world, but not the one you were just in, and logs back in?
2010-06-29 21:43:20
var Curr_World, Next_World: Integer;
begin
Curr_World := //Whatever way you chose to open a world
ChangeWorld(Curr_World);
end.var Curr_World, Next_World: Integer;
begin
Curr_World := //Whatever way you chose to open a world
Next_World := Curr_World; //As to not confuse the script later
ChangeWorld(Curr_World);
Repeat
//Script
while Curr_World = Next_World do
Next_World := RandomWorld({Info on wanted worlds here});
Curr_World := Next_World;
ChangeWorld(Next_World);
Until(false)
end.