Difference between revisions of "Mode"
From Scriptwiki
m (the same) |
m (changed category) |
||
Line 59: | Line 59: | ||
* [[On rawmode|On rawmode event]] | * [[On rawmode|On rawmode event]] | ||
− | [[Category:Basic IRC commands | + | [[Category:Basic IRC commands]] |
Revision as of 13:44, 2 July 2007
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 | 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 | 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