if (arguments.length > 0) {
Player reciever = sender.getServer().findPlayer(arguments[0]);
if (reciever == null) {
sender.addTMessage(Color.RED, "Player not online (%s)", arguments[0]);
} else {
return new PrivateChat(sender, reciever);
}
} else {
sender.addTMessage(Color.RED, "No player or message specified.");
}
return null;