01-05-2013, 23:03
Pages: 1 2
01-06-2013, 05:45
Code:
if (Message.Substring(0, 5) == "!kick")
{
ServerCommand("kick \"" + Message.Substring(5) + "\"");
}
01-06-2013, 12:10
will that work whit space in name?
Ok ive done to get a list but the iprintlnbold dissapears so fast i cant use threading because that laggs server
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;
}
}
01-06-2013, 14:14
Yes it will.
Pages: 1 2