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?
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?

Well, ima do a rough draft just incase you need it
First record what World you went to when you go to it.
eg.Next, when you want to change worlds just make sure Current world is not the same as Nextworld.Code:var Curr_World, Next_World: Integer; begin Curr_World := //Whatever way you chose to open a world ChangeWorld(Curr_World); end.
eg.I'm pretty sure that would work, but i'm no pro at SRL or runescape so don't quote meCode: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.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)