Difference between revisions of "Mode"

From Scriptwiki
Jump to: navigation, search
m (added a missing bracket)
m (added T and M)
 
(9 intermediate revisions by 5 users not shown)
Line 10: Line 10:
 
<table>
 
<table>
 
<tr><td><b>Mode</b></td><td><b>Meaning</b></td></tr>
 
<tr><td><b>Mode</b></td><td><b>Meaning</b></td></tr>
<tr><td>+b</td><td>Ban (Parameter: a hostmask)</td></tr>
+
<tr><td>+b</td><td>[[Ban]] (Parameter: a hostmask)</td></tr>
<tr><td>+k</td><td>Channel key (Parameter the key for your channel)</td></tr>
+
<tr><td>+o</td><td>Op (Parameter: a nick)</td></tr>
<tr><td>+l</td><td>Channel limit (Parameter the new limit</td></tr>
+
<tr><td>+v</td><td>Voice (Parameter: a nick)</td></tr>
<tr><td>+i</td><td>Invite only (users need to be invited using /invite before they can join your channel)</td></tr>
+
<tr><td>+k</td><td>Channel key (Parameter: the key for your channel)</td></tr>
 +
<tr><td>+l</td><td>Channel limit (Parameter: the new limit)</td></tr>
 +
<tr><td>+i</td><td>[[Invite]] only (users need to be invited using /invite before they can join your channel)</td></tr>
 +
<tr><td>+M</td><td>Moderate for non-authed users (regular non-authed users cannot speak in the channel)</td></tr>
 
<tr><td>+m</td><td>Moderated (only ops and voices can speak in the channel)</td></tr>
 
<tr><td>+m</td><td>Moderated (only ops and voices can speak in the channel)</td></tr>
 
<tr><td>+n</td><td>No external messages (only users who are on the channel can speak)</td></tr>
 
<tr><td>+n</td><td>No external messages (only users who are on the channel can speak)</td></tr>
 
<tr><td>+p</td><td>Private (this channel mode is deprecated, use +s instead)</td></tr>
 
<tr><td>+p</td><td>Private (this channel mode is deprecated, use +s instead)</td></tr>
<tr><td>+s</td><td>Secret (channel will not be shown in /list or /whois</td></tr>
+
<tr><td>+s</td><td>Secret (channel will not be shown in /list or /whois)</td></tr>
 +
<tr><td>+T</td><td>Deny multiple channel messages (messages with multiple channel targets, like /amsg, cannot be sent to channels having +T set)</td></tr>
 
<tr><td>+t</td><td>Only ops can set the topic</td></tr>
 
<tr><td>+t</td><td>Only ops can set the topic</td></tr>
 
<tr><td>+r</td><td>Only registered users can join the channel (see the [http://www.quakenet.org/faq/faq.php?c=1&f=51#51 Q faq] for more details)</td></tr>
 
<tr><td>+r</td><td>Only registered users can join the channel (see the [http://www.quakenet.org/faq/faq.php?c=1&f=51#51 Q faq] for more details)</td></tr>
Line 24: Line 28:
 
<tr><td>+c</td><td>No colors/bold is allowed in channel messages</td></tr>
 
<tr><td>+c</td><td>No colors/bold is allowed in channel messages</td></tr>
 
<tr><td>+C</td><td>No channel CTCPs</td></tr>
 
<tr><td>+C</td><td>No channel CTCPs</td></tr>
<tr><td>+N</td><td>No channel notices</td></tr>
+
<tr><td>+N</td><td>No channel [[notice|notices]]</td></tr>
 
<tr><td>+u</td><td>Hide part/quit reasons</td></tr>
 
<tr><td>+u</td><td>Hide part/quit reasons</td></tr>
 
</table/>
 
</table/>
Line 32: Line 36:
 
<table>
 
<table>
 
<tr><td><b>Mode</b></td><td><b>Meaning</b></td></tr>
 
<tr><td><b>Mode</b></td><td><b>Meaning</b></td></tr>
<tr><td>+i</td><td>Invisible (you're not visible in /who requests</td></tr>
+
<tr><td>+i</td><td>Invisible (you're not visible in /who requests)</td></tr>
 
<tr><td>+w</td><td>Receive walluser messages.</td></tr>
 
<tr><td>+w</td><td>Receive walluser messages.</td></tr>
 
<tr><td>+R</td><td>Receive messages/notices from registered users only</td></tr>
 
<tr><td>+R</td><td>Receive messages/notices from registered users only</td></tr>
<tr><td>+x</td><td>Hides your host (you need to be registered for this to work</td></tr>
+
<tr><td>+x</td><td>Hides your host (you need to be registered for this to work)</td></tr>
 
</table>
 
</table>
 +
 +
== Example ==
 +
Gives Dana operatorstatus in #help.script
 +
 +
/mode #help.script +o Dana
 +
 +
Removes invite-only from #help.script
 +
 +
/mode #help.script -i
 +
 +
Hides your own host
 +
 +
/mode <yournick> +x
 +
//mode [[$me]] +x
 +
 +
== See Also ==
 +
* {{Relatedraws|mode}}
 +
* [[On mode|On mode event]]
 +
* [[On rawmode|On rawmode event]]
 +
 +
[[Category:Basic IRC commands]]

Latest revision as of 13:24, 26 September 2008

Used for setting channel and user modes.

/mode <nick|#channel> [+-modes]

If you're setting user modes you will have to specify your own nick. You cannot change user modes for other users. Neither can you view another user's usermodes using /mode. Channel modes can only set by a channel operator. However you can view the current channel modes even if you're not a channel op.

Depending on the network you're using there might be different channel and user modes. Here is a list of channel modes which are available on QuakeNet:

ModeMeaning
+bBan (Parameter: a hostmask)
+oOp (Parameter: a nick)
+vVoice (Parameter: a nick)
+kChannel key (Parameter: the key for your channel)
+lChannel limit (Parameter: the new limit)
+iInvite only (users need to be invited using /invite before they can join your channel)
+MModerate for non-authed users (regular non-authed users cannot speak in the channel)
+mModerated (only ops and voices can speak in the channel)
+nNo external messages (only users who are on the channel can speak)
+pPrivate (this channel mode is deprecated, use +s instead)
+sSecret (channel will not be shown in /list or /whois)
+TDeny multiple channel messages (messages with multiple channel targets, like /amsg, cannot be sent to channels having +T set)
+tOnly ops can set the topic
+rOnly registered users can join the channel (see the Q faq for more details)
+DAuditorium mode (user are invisible until they say something or change the topic/modes)
+dThis is set by the server if you remove chanmode +D and there are still invisible users
+cNo colors/bold is allowed in channel messages
+CNo channel CTCPs
+NNo channel notices
+uHide part/quit reasons

The following user modes are available to (ordinary) users:

ModeMeaning
+iInvisible (you're not visible in /who requests)
+wReceive walluser messages.
+RReceive messages/notices from registered users only
+xHides your host (you need to be registered for this to work)

Example

Gives Dana operatorstatus in #help.script

/mode #help.script +o Dana

Removes invite-only from #help.script

/mode #help.script -i

Hides your own host

/mode <yournick> +x
//mode $me +x

See Also