18-09-2008, 02:56 AM
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.
*bows*. I'm so 1337
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