Add this at the top of the command method.
now add this command modify it to work.Code:String[] cmd = command.split(" "); cmd[0] = cmd[0].toLowerCase();
Code:else if (cmd[0].equals("yell")) { if (command.length() > 5) { yell("[YELL]" + playerName + ": " + command.substring(5); } }