@Override
    public boolean execute(final CommandSender sender, final String[] split) {
        if (sender instanceof Player) {
            if (MonsterIRC.getHandleManager().getPermissionsHandler() != null) {
                if (!MonsterIRC.getHandleManager().getPermissionsHandler()
                        .hasCommandPerms((Player) sender, this)) {
                    sender.sendMessage("[IRC] You don't have permission to preform that command.");
                    return true;
                }
            } else {
                sender.sendMessage("[IRC] PEX not detected, unable to run any IRC commands.");
                return true;
            }
        }
        if (Variables.reply.get(sender) != null) {
            if (split.length < 2) {
                sender.sendMessage("Invalid usage!");
                sender.sendMessage("Proper usage: irc r [message]");
                return true;
            } else {
                final StringBuffer result = new StringBuffer();
                result.append("[MC] " + sender.getName() + ": ");
                for (int i = 2; i < split.length; i++) {
                    result.append(split[i]);
                    result.append(" ");
                }
                MonsterIRC
                        .getHandleManager()
                        .getIRCHandler()
                        .sendMessage(Variables.reply.get(sender),
                                result.toString());
                sender.sendMessage(ColorUtils.LIGHT_GRAY.getMinecraftColor()
                        + "([IRC] to "
                        + Variables.reply.get(sender)
                        + "): "
                        + result.toString().substring(
                                7 + sender.getName().length()));
                return true;
            }
        } else {
            sender.sendMessage("Nothing to reply to!");
            return true;
        }
    }