Temporarily ban a hostmask on a channel.
/msg Q TEMPBAN <#channel> <banmask> <duration> [<reason>]
<#channel>- The channel to add the temporary ban to.
<banmask>- The banmask to ban.
<duration>- The duration to set the ban to.
<reason>- The ban reason. Default: Banned.
If the ban is removed from the channel (e.g. by a channel op or the BANTIMER feature) then the ban will be reapplied if a matching user joins the channel. When the time expires, the ban will be removed automatically.
When using the command, the duration specified can be m (minutes), h (hours), d (days), w (weeks), M (months) and y (years), for example 3d, 5h, 1h30m, 1M.
To use the TEMPBAN command you must have at least the master flag (
+m) in the CHANLEV list on the channel.
This will temporarily ban the user John from channel #channel for 1 year and 2 weeks:
`/msg Q TEMPBAN #channel John!*@* 1y2w`
This will temporarily ban the account named JohnAuth from the channel #channel for 3 days with reason "Not wanted":
`/msg Q TEMPBAN #channel *!*@JohnAuth.users.quakenet.org 3d Not wanted`
Trying to set 0 as time (to set a permanent ban use the PERMBAN command):
`/msg Q TEMPBAN #channel John!*@* 0` `-Q- Duration too long or invalid: 0`
Other help articles under Q Commands