randomOnePlayer


--Randomly select a player from all players
--Parameters: -1 all players 0 dead players 1 alive players
local result,playerid=World:randomOnePlayer(-1)
--Display in the chat box
Chat:sendSystemMsg("Randomly selected a player:"..playerid)