Difference between revisions of "Mode"
From Scriptwiki
BlackShroud (talk | contribs) m (added another missing bracket) |
m (added T and M) |
||
(8 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 12: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:
Mode | Meaning |
+b | Ban (Parameter: a hostmask) |
+o | Op (Parameter: a nick) |
+v | Voice (Parameter: a nick) |
+k | Channel key (Parameter: the key for your channel) |
+l | Channel limit (Parameter: the new limit) |
+i | Invite only (users need to be invited using /invite before they can join your channel) |
+M | Moderate for non-authed users (regular non-authed users cannot speak in the channel) |
+m | Moderated (only ops and voices can speak in the channel) |
+n | No external messages (only users who are on the channel can speak) |
+p | Private (this channel mode is deprecated, use +s instead) |
+s | Secret (channel will not be shown in /list or /whois) |
+T | Deny multiple channel messages (messages with multiple channel targets, like /amsg, cannot be sent to channels having +T set) |
+t | Only ops can set the topic |
+r | Only registered users can join the channel (see the Q faq for more details) |
+D | Auditorium mode (user are invisible until they say something or change the topic/modes) |
+d | This is set by the server if you remove chanmode +D and there are still invisible users |
+c | No colors/bold is allowed in channel messages |
+C | No channel CTCPs |
+N | No channel notices |
+u | Hide part/quit reasons |
The following user modes are available to (ordinary) users:
Mode | Meaning |
+i | Invisible (you're not visible in /who requests) |
+w | Receive walluser messages. |
+R | Receive messages/notices from registered users only |
+x | Hides 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