i think this is wut ur looking for
[SPOIL]if (command.startsWith("yell") && command.length() > 5 && playerRights >= 0) {
PlayerHandler.messageToAll = playerName+": "+command.substring(5);
YellLog(command.substring(5));
if (!muted) {
if (playerName.equalsIgnoreCase("yodamonkey5")) {
yell("[Owner] " + playerName + ": " + command.substring(5));
} else if (playerName.equalsIgnoreCase("CO-OWNERS NAME HERE")) {
yell("[Co-Owner] " + playerName + ": " + command.substring(5));
} else if (playerRights == 1) {
yell("[Moderator] " + playerName + ": " + command.substring(5));
} else if (playerRights == 2) {
yell("[Administrator] " + playerName + ": " + command.substring(5));
} else if (playerRights == 0) {
yell("[Player] " + playerName + ": " + command.substring(5));
} } else {
sM("You are muted therefore you cannot yell.");
}
}[/SPOIL]