Log in

View Full Version : A scripting question...



Peanuts
07-31-2012, 10:45 AM
I've being looking around trying to find an answer.. sorry if this is dumb.

I'm logging out every 15ish minutes n then log back in..

But i wanna log into a new world..

I'm trying

RandomWorld(False, True);

Am i doing something wrong?

riwu
07-31-2012, 10:49 AM
RandomWorld merely returns the integer of the world, u need to do ChangeWorld(RandomWorld)

Peanuts
07-31-2012, 10:53 AM
I tried

265 RandomWorld(False, True);
266 ChangeWorld(RandomWorld);

and got an Invalid number of parameters at line 266

riwu
07-31-2012, 10:56 AM
I tried

265 RandomWorld(False, True);
266 ChangeWorld(RandomWorld);

and got an Invalid number of parameters at line 266
Sorry, you should do ChangeWorld(RandomWorld(False, True));
Also you dont need the line 265. RandomWorld will be called when u call ChangeWorld.

Peanuts
07-31-2012, 11:04 AM
Thx man! awesome!