var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); function newLevel(){ 	clientMessage(ChatColor.GOLD + "Thank-You for using " + ChatColor.LIGHT_PURPLE + "v7thShark's " + ChatColor.GOLD + "mod pack."); 	if (ModPE.readData("first") != "true") { 		clientMessage("Easy to use mod. But remember, everything is opposite"); 	} }  function procCmd(command) { 	var cmd = command.split(" "); 	var kill = "kill"; 	var heal = "heal"; 	var creative = "creative"; 	var survival = "survival"; 	var coords = "coords"; 	if(cmd[0] == kill) { 		Player.setHealth (20); 		Level.heart(getPlayerX(), getPlayerY(), getPlayerZ()); 		clientMessage(ChatColor.RED + "Player healed."); 	} 	if(cmd[0] == heal) { 		clientMessage(ChatColor.BLACK + "Death command initiated."); 		Player.setHealth (0); 	} 	if(cmd[0] == creative) { 		function setGamemode(0) 	} 	if(cmd[0] == survival) { 		function setGamemode(1) 	} 	if(cmd[0] == coords) { 		clientMessage(ChatColor.YELLOW + "X=" + getPlayerX() + " Y=" + getPlayerY() + " Z=" + getPlayerZ()); 	} }