public void SendNextMessage()
        {
            //Program.MainForm.LogAppend("SENDNEXTMESSAGE START");
            if (mLines.Count == mState + 1)
            {
                HandleThing(mRealState, 0, "", 0);
            }
            else
            {
                mState++;
                if (mLines.Count < mState)
                {
                    return;
                }

                WaitingForResponse = true;
                NpcUsedLines line = mLines[mState];
                switch (line.mWhat)
                {
                case 0: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, false, true); break;

                case 1: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, true, true); break;

                case 2: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, true, false); break;

                case 3: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, false, false); break;

                default: Stop(); return;
                }
            }
        }
        public void SendPreviousMessage()
        {
            if (mState == 0 || mLines.Count == 0)
            {
                return;
            }
            mState--;
            if (mLines.Count < mState)
            {
                return;
            }

            WaitingForResponse = true;
            NpcUsedLines line = mLines[mState];

            switch (line.mWhat)
            {
            case 0: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, false, true); break;

            case 1: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, true, true); break;

            case 2: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, true, false); break;

            case 3: NpcPacket.SendNPCChatTextSimple(mCharacter, mID, line.mText, false, false); break;

            default: Stop(); return;
            }
        }