Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MS4] Kill Command
#16
I found an error with this code. When you type /kill (playername), the text doesn't submit through, though the command executes. Along with the error, I found a fix. Replace the old /kill code with this.

Code:
' Kill player
            If Mid$(MyText, 1, 5) = "/kill" Then
            If Len(MyText) > 6 Then
                MyText = Mid(MyText, 6, Len(MyText) - 5)
                Call SendData(CKillPlayer & SEP_CHAR & MyText & END_CHAR)
            End If
                MyText = vbNullString
                frmMirage.txtMyChat.Text = vbNullString
                Exit Sub
            End If

*bows*. I'm so 1337
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)