SRL Archive - Help

A scripting question...


Peanuts

2012-07-31 06:45:46

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

2012-07-31 06:49:51

RandomWorld merely returns the integer of the world, u need to do ChangeWorld(RandomWorld)

Peanuts

2012-07-31 06:53:29

I tried

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

and got an Invalid number of parameters at line 266

riwu

2012-07-31 06:56:54

From: Peanuts
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

2012-07-31 07:04:33

Thx man! awesome!