Code: 16:46:23 [CRITICAL] Unhandled exception executing command '**' in hg: Undefined variable: worldsel Here is the code: PHP: $worldsel = array_mt_rand($wconfig);}$this->getServer()->broadcastMessage("****** *****! World: ".$worldsel."!!"); What is the problem?
$rand = array_rand($values, 10); or $a = mt_rand(1, count($one)); $get = $one[$a]; or $k = array_rand($array); $v = $array[$k] this is what i found on google...
So if the condition is false, it won't initialize your $worldsel variable. What do you expect $worldsel to be if the condition is false?