21-10-2008, 03:08 PM
Well, you don't exactly need the select case, I was just saying that's how I would do it.
Pseudo Code
So basically, I was talking about placing the Select Case in the server side packet that handles warning a player.
Pseudo Code
Code:
Client side:
Text Command:
/WarnPlayer
Packet = "WARN" & SEP_CHAR & END_CHAR
Call SendData(Packet)
Server Side:
If LCase(Parse(0)) = "warn" Then
Select Case
So basically, I was talking about placing the Select Case in the server side packet that handles warning a player.