06-12-2007, 08:55 AM
First off, add that code into your client. Preferably in the Sub HandleKeypresses(ByVal KeyAscii As Integer).
Ok now change:
Then of course the Call Send stuff is what you need to code in. They will obviously send a packet to the server with the players name and then have the server delete the player. I just came out with that code on the top my head, so let me know whats up.
Ok now change:
Code:
If "/delete(PlayerName)" Then
If PlayerAccess 7 Then
MyText = Mid(MyText, 9, Len(MyText) - 7)
Call SendDeleteChar(MyText)
Call SendSaveChar(MyText)
Call SendSaveAcc(MyText)
End If
MyText = ""
Exit Sub
End If