public void run() {
        /*if there is a message store and check it*/
        if (bot.hasPrivateMessage()) {
            message = bot.getPrivateMessage();
        }

        /*This method checks if the user has the proper access*/
        if (checkAccess(2, bot.getPrivateSender()) == false) {
            return;
        }

        if (message.startsWith("~say")) {
            tokenize(true, 4, message);
            sendTo = (String) tokenParameters.nextElement();

            while (tokenParameters.hasMoreElements()) {
                sendMessage += (String) tokenParameters.nextElement() + " ";
            }

            try {
                Main.bot.sendMessage(sendTo,
                        sendMessage);
            } catch (NoSuchElementException e) {
                e.printStackTrace();
                System.err.println("incorrect syntax");
            }

            sendMessage = "";
        }
    }