Changes the start time, stop time, or reason of the ban on a user. After a ban has been established through /AddBan, only the start time, stop time, and reason can be changed with /SetBan.
See also /DeleteBan, /AddBan, /GetBan, /ListBans.
Chatcmd Server /SetBan:FullBanName=[StartTime][,StopTime][,Reason]
| Server | This switch does not support multiple servers in its command line. |
| FullBanName | The FullBanName is made up of a nickname, user name, and host name (the user's IP or DNS address), in that order, as follows: |
| NickName!UserName@HostName | |
| All parts of the syntax must be specified for the information to be retrieved. | |
| Note The asterisk (*) can be used as a wildcard character to match any nickname, user name, or domain name. The question mark (?) can be used as a wildcard character to match any character. | |
| StartTime | Start time for the ban, in Universal Coordinate Time (UTC). Use 24-hour format. |
| StopTime | End time for the ban, in UTC. Use 24-hour format. |
| Reason | The reason message can be up to 63 characters. Enclose the reason in quotation marks. |
chatcmd myserv01 /setban:Monkey!*@*=08:00,14:00 | |
| Bans any user with the nickname Monkey between 8:00 A.M. and 2:00 P.M., UTC. | |
chatcmd myserv01 /setban:jim!*@*=13:00,18:00,"Your time has been extended until 6:00 P.M." | |
| Bans any user with the nickname Jim from any domain between 1:00 P.M. and 6:00 P.M., UTC, and adds a reason. |