Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ryan's Questions.
#8
Code:
If LCase(Mid(MyText, 1, 5)) = "/kick" Then
                If Len(MyText) > 6 Then
                    MyText = Mid(MyText, 7, Len(MyText) - 6)
                    Call SendKick(MyText)
                End If
                MyText = ""
                Exit Sub
            End If

I found this. It's what happens when you type /kick to kick a player.

I'm a little confused. My admin panel is set up with a text bar for a name and a command button for the kick action. So would the code be something like:
Code:
Sub Blah Blah On click
MyText = txtName
Call SendKick(MyText)
End Sub
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)