//Gamemode Changer Mod by MrGoldenGamer10/  function newLevel(){ clientMessage(ChatColor.RED+"Mod Made by MrGoldenGamer10."); clientMessage(ChatColor.RED+"Subscribe to my Youtube Channel-MrGoldenGamer10."); clientMessage(ChatColor.RED+"Type /help in chat for list of commands."); } function procCmd(cmd){ var command = cmd.split(" ");  if(command[0] == "survival"){ 	Level.setGameMode(0); 	clientMessage( "Your Gamemode Has Been set to Survival") ; 	} 	if(command[0] == "creative"){ 	Level.setGameMode(1); 	clientMessage( "Your Gamemode Has Been set to Creative") } if(command[0] === "day"){ Level.setTime(0); clientMessage("Your Time is Set to Day") } if(command[0] == "night"){ Level.setTime(8280); } }