if (caller instanceof Player) {
prefix = ((Player) caller).getPrefix();
}
if (target != null) {
caller.message(Colors.LIGHT_GRAY + "-> " + target.getPrefix() + target.getName() + Colors.WHITE + ": " + StringUtils.joinString(parameters, " ", 2));
target.message(Colors.LIGHT_GRAY + "(MSG) " + prefix + caller.getName() + Colors.WHITE + ": " + StringUtils.joinString(parameters, " ", 2));
}
else {
caller.notice(Translator.translateAndFormat("unknown player", parameters[1]));
}
}