Users, channel hosts and owners, sysops, and sysop managers can grant or deny access to objects that are within their control, using a variety of levels of access.
The following levels of access are permitted by the Access command:
| DENY | Deny access to an object that is otherwise accessible. |
| GRANT | Allow access to an object that is otherwise inaccessible. |
| HOST | Grant channel host access to the channel. |
| OWNER | Grant channel owner access to the channel. |
| VOICE | Grant voice access to the channel and enable voice mode (+v). |
Note Although you can ban a chat user in more than one way, the ban can be temporary or permanent depending on the method you use. If you ban a user with the Chatcmd /AddBan or /SetBan options, or from the Banned Users General property sheet in the Chat Service Manager utility, the ban remains in effect until you change it. If you use the IRCX Access command or the IRC Mode b option to ban a user, the ban remains in effect until you restart Chat Service.
Access Object List
Access Object {Add | Delete} Level UserMask [TimeOut][:Reason]
Access Object Clear [Level]
See the section on conventions used in syntax for help in reading command syntax.
| Object | Target to which you grant or deny access, which can be a channel, a nickname, a server, or the chat network itself. |
| Note The dollar sign ($) can be used to denote the local server (the server from which you issue the Access command), and the asterisk (*) may be used to denote all servers on the chat network. | |
| Level |
Level of access is defined by the following keywords: DENY, GRANT, HOST, OWNER, VOICE. If an object's access list contains only GRANT entries, only users who are covered by those entries have access to the object. Conversely, if an object's access list contains only DENY entries, only users who are covered by those entries are denied access to the object. If the access list contains a combination of GRANT and DENY entries, the server processes the list in the following order: OWNER, HOST, GRANT, DENY, VOICE. |
| UserMask | Identifies the user by nickname, username, host, or server characteristics. The Access command interprets asterisks (*) and question marks (?) as wildcard characters when you add entries, but interprets them literally when you delete entries. In this case, you must delete multiple entries one at a time. You can, however, use the command Access Object Clear to delete all entries from an object's access list. |
| Note See the section on user masks for more information on syntax and special characters used within masks. | |
| TimeOut | Number of minutes until the access entry is removed. A value of zero indicates unlimited duration. |
| Reason | Reason shown to users when denied access to a channel by a host or an owner, or when denied access to a server by a sysop or a sysop manager. |
| Note A reason is not shown to a user who has been denied access to another user. If the denied user sends a message, the server does not return an error or reason for the denial. |
access #mychannel clear | |
| Clears all entries at all levels for #MyChannel. | |