private void pushMessage(String text, int inputId, String name) { // pushMessage
        if (inputId == 0 && dialogID != -1) {
            aString844 = text;
            super.clickMode3 = 0;
        }
        if (backDialogID == -1) {
            inputTaken = true;
        }
        for (int j = 99; j > 0; j--) {
            chatTypes[j] = chatTypes[j - 1];
            chatNames[j] = chatNames[j - 1];
            chatMessages[j] = chatMessages[j - 1];
        }
        chatTypes[0] = inputId;
        chatNames[0] = name;
        chatMessages[0] = text;
    }