@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 (split.length == 3) {
            Variables.name = split[2];
            if (MonsterIRC.getHandleManager().getIRCHandler().isConnected()) {
                MonsterIRC.getHandleManager().getIRCHandler()
                        .changeNick(Variables.name);
            }
            sender.sendMessage("Nick successfully changed to: "
                    + Variables.name);
            return true;
        } else {
            sender.sendMessage("Invalid Usage. Please use: irc nick [NAME]");
            return true;

        }
    }