18-09-2008, 06:31 PM
It's a lot easier this way. You don't have to do letter counting or anything.
Let's say you have your "/mute player" command.
So you add
That makes sure you have the command and the player to mute.
Psuedo code - dunno what your function is
And that's it to add the /command.
Let's say you have your "/mute player" command.
So you add
Code:
Case "/mute"
If UBound(Command) >= 1 Then
sendMutePlayer MyIndex, CLng(Command(1))
End If
Code:
If UBound(Command) >= 1 Then
Code:
sendMutePlayer MyIndex, CLng(Command(1))
And that's it to add the /command.