The "redirect" Module (v4)
Description
This module allows users to be redirected to another channel.
Configuration
To load this module use the following <module> tag:
<module name="redirect">
<redirect>
The <redirect> tag defines settings about how the redirect module should behave. This tag can only be defined once.
| Name | Type | Default Value | Description |
|---|---|---|---|
| ban | Boolean | No | New in v4.10.0! Whether to redirect users who are banned from the channel. |
| extban | Boolean | No | New in v4.10.0! Whether to enable extended ban d: (redirect). |
| inviteonly | Boolean | Yes | New in v4.10.0! Whether to redirect users who have not been invited. |
| key | Boolean | Yes | New in v4.10.0! Whether to redirect users who did not specify the correct channel key. |
| limit | Boolean | Yes | New in v4.10.0! Whether to redirect users when the channel is full. |
Example Usage
<redirect ban="no"
extban="yes"
inviteonly="yes"
key="yes"
limit="yes">
Channel Modes
| Name | Character | Type | Parameter Syntax | Usable By | Description |
|---|---|---|---|---|---|
| redirect | L | Parameter | <channel> | Channel operators | Redirects all new users who can't join the channel to <channel>. |
Example Usage
Redirects new users who can't join #channel to #channel-overflow:
/MODE #channel +L #channel-overflow
User Modes
| Name | Character | Type | Parameter Syntax | Usable By | Description |
|---|---|---|---|---|---|
| antiredirect | L | Switch | None | Anyone | Prevents users from being redirected by channel mode L (redirect). |
Extended Bans
| Name | Character | Type | Ban Syntax | Description |
|---|---|---|---|---|
| redirect | d | Acting | [!]redirect:<channel>:<mask> | Redirects users matching <mask> to <channel>. |
Example Usage
Redirects users matching *!*@example.com to #example:
/MODE #channel +b d:#example:*!*@example.com
Special Notes
When setting a redirect the target channel should exist and the user setting the redirect should have channel operator status in it.