ItsMods

Full Version: Kick people with space in name
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Thanks
Code:
if (Message.Substring(0, 5) == "!kick")
{
    ServerCommand("kick \"" + Message.Substring(5) + "\"");
}
will that work whit space in name?

Ok ive done
Code:
if (Message == "!list")
            {
                foreach (ServerClient client in GetClients())
                {
                    TellClient(Client.ClientNum, client.ClientNum.ToString() + " - " + client.Name, true);
                    iPrintLnBold(client.ClientNum.ToString() + " - " + client.Name, Client);
                    return ChatType.ChatNone;
                }
            }
to get a list but the iprintlnbold dissapears so fast i cant use threading because that laggs server
Yes it will.
Pages: 1 2