SRL/SRL-5 — pull request #95 by riwu (2012-10-22 10:17:58+00:00)
Title: Update SRL/core/login.simba

The recent update https://github.com/SRL/SRL-5/pull/88
is causing out of range error in scripts:
http://villavu.com/forum/showpost.php?p=1115734&postcount=4

I've read through the code and realize there is a lot of redundant code there:
1.
if the World is declared (based on the comment: [Members {Boolean}, World {Integer}, PVP {Boolean}]
and previous code, it should reside in WorldInfo[1]), Members/PVP will not be relevant. (If there is conflict between the World declared and the Members/PVP declared, we are still going to choose the World declared so it is irrelevant to check for these.

2.
Rationally, WorldInfo should only be used for declaring what world to choose, because if you want a random world then WorldInfo can be left blank.
To avoid breaking any script, we have to retain its ability to handle WorldInfo of Length 1-3, hence the proposed code should simplify it without breaking any script.

3.
With the current code, WorldInfo can still be used as user input for world switching (whether to switch to member or non-member world), even though .Member should be used instead.