使用說明:IRC

出自 shoutwiki
前往: 導覽搜尋

ShoutWiki's IRC channel is #ShoutWiki on irc.shoutwiki.com. You can access it by going into irc.shoutwiki.com. ShoutWiki的IRC頻道是Customer Support Team members are often on the channel, so it is one of the best ways of getting help.

Accessing the server[編輯]

To access our IRC server, you will need an IRC client. An IRC client is a program that you need to download to access IRC servers, such as our server or freenode, for example. While downloading an IRC client is strongly recommended, it is not a must-have. If you do not have an IRC client or are unable/unwilling to download one, you can use our CGI:IRC gateway at irc.shoutwiki.com.

CGI:IRC[編輯]

CGI:IRC's default settings are usually OK - you'll want to change your IRC nickname from "SWnnn" (where n = some randomly chosen number) into a more descriptive one. Please remember that IRC does not allow spaces in nicknames, but you'll need to use underscores instead. For example, Jack Phoenix would not be allowed as an IRC nick, but Jack or Jack_Phoenix would be.

IRC client[編輯]

Not all IRC clients are equal. While some older ones, such as mIRC, might be popular, they might not be a sensible choice in today's IRC world. You'll most likely want a client that supports UTF-8 encoding. Good modern IRC clients include, but are not limited to the following:

IRC Commands and Modes[編輯]

The following are some common commands and modes that you may encounter while on IRC. If you have questions about something that is not on the list, please ask in the #ShoutWiki channel and someone will be able to assist you.

Alerting staff[編輯]

Typing "@staff [message]" on a channel will alert online ShoutWiki staff members to that channel, with the message if one is provided. The "@staff" must start the line, or else it will not notify staff members.

Commands[編輯]

Command Syntax Description
CYCLE CYCLE <chan1>,<chan2> Cycles the given channel(s) -- basically issues a PART and then an immediate JOIN afterwards. You may have to use /QUOTE CYCLE, depending on your client.
INVITE INVITE <nick> [channel] Invites someone into a channel, by default the current one. Requires chanop.
IRCOPS IRCOPS Displays a listing of all online IRCops (ShoutWiki staff members who have control over the IRC network)
JOIN JOIN <chan1>,<chan2> <key1>,<key2>
JOIN 0
Joins the selected channels. If the channel requires a keyword, then it will use the key specified. As a special case, /JOIN 0 makes you part all of your channels.
KICK KICK <channel> <user> [reason] Removes a user from a channel. Requires halfop. If no reason is given, it uses your nick as the reason.
MODE MODE <channel/user> <mode> Sets a mode on a channel or user. See below for settable modes. Note that you can only set user modes on yourself.
NICK NICK <nickname> Changes your nickname. To prevent flooding, you may only change your nick 3 times every 120 seconds.
REMOVE REMOVE <channel> <user> [reason] Removes a user from a channel, preventing auto-rejoin. Requires chanop.
SILENCE SILENCE +nickname
SILENCE -nickname
SILENCE
Ignores messages from a user or a list of users at the server level. Using /SILENCE without a parameter displays your current silence list.
TOPIC TOPIC <channel> [topic] Displays or changes the topic of the channel. Changing the topic requires halfop if the channel is +t, otherwise anyone can change the topic.

User modes[編輯]

These are modes that may be set upon yourself via /MODE <yournick> <mode>. You cannot set user modes on a different user.

Mode Name Description
d Deaf Makes it so that you cannot send or receive channel messages
i Invisible Makes it so that you are not displayed in /WHO searches
p Private Makes it so that channels you belong to are hidden from /WHOIS and /WHO
r Registered Marks you as having a registered nick. Settable by Services only.
s Snomask Lets you listen to server notices. See /HELPOP snomasks for a list.
x Hidden host Marks you as having a hidden hostname, for security
z Secure Marks you as being on a Secure connection (SSL)
B Bot Marks you as a bot
G G-rated Filters out all bad words in messages you receive with <censored>
I Caller ID Prevent yourself from receiving PRIVMSGs/NOTICEs from users not on your /ALLOW list
Q Block forwards Prevent yourself from being forwarded to other channels
R Registered only Allows you to only receive PRIVMSGs/NOTICEs from registered (+r) users
T CTCP block Prevents you from receiving CTCPs

Channel modes[編輯]

These are modes that may be set upon channels via that /MODE command. They all require some sort of access to set or unset, which is denoted by the access column (h = halfop, o = chanop, and q = owner).

Mode Name Description Access
v <nick> Voice Gives voice access to the user (may talk if the channel is +m) h
h <nick> Halfop Gives halfop access to the user (limited op access) o
o <nick> Op Gives chanop access to the user o
a <nick> Admin Gives channel admin access to the user (cannot be kicked by +o) q
q <nick> Owner Gives channel owner access to the user (full access, cannot be kicked by +a) q
b <param> Ban Sets a ban, see #Banning for more info h
e <param> Ban exemption Exempts a user from a ban h
I <param> Invite exception Allows a user to override a +i mode h
c Block color Blocks messages containing color codes o
f <param> Flood protection Adds flood protection to a channel. See /HELPOP chmodef for more information o
i Invite only A user must be invited to join the channel h
j <joins:sec> Join throttle Throttles joins per-user to <joins> joins per <sec> seconds o
k <key> Keyword Users must specify <key> in order to join the channel h
l <number> Limit Channel may hold at most <number> users o
m Moderated Only +vhoaq users may speak h
n Block external Only users in the channel may send messages to it. Always leave this on h
s Secret Secret channel, will not show up in /WHO searches o
t Topic lock Only +hoaq may change the topic h
z Secure only Only clients on an SSL connection may join o
B Block forwards Prevents forwards from going to your channel q
F <chan> Channel forwarding If a user is banned from your channel, they will join <chan> instead q
G G-rated Blocks out all bad words in messages with <censored> o
M Registered moderation Must be using a registered nick or have voice access to talk o
L <chan> Channel link If the channel limit (+l) is full, the next user will join <chan> instead q
R Registered only Only registered users may join the channel o
Z Relaxed moderation Messages normally blocked via +m or +b will be send to channel ops instead o

Banning[編輯]

Occasionally, you may wish to block a user from joining or speaking in your channel. There are multiple ways to do this, outlined below.

Note that these "flags" may be used for the +e mode as well, to give exemptions to people for specific bantypes.

Syntax Name Description
MODE +b <nick!user@host> Ban Prevents the user from joining the channel. If they are already on the channel, they may not speak unless they have voice access or above
MODE +b ~q:<nick!user@host> Quiet Prevents the user from speaking unless they have voice access or above. The /QUIET command may be used as an alias for this (see /HELPOP quiet for more information about that)
MODE +b ~n:<nick!user@host> Nickchange Prevents the user from changing his/her nick unless they have voice access or above
MODE +b ~c:[prefix]<channel> Channel Prevents users on the specified channel, or users with access according to prefix or above on the specified channel, from joining this one
MODE +b ~r:<realname> Realname Prevents users with matching realnames from joining
MODE +b ~f:<channel>:<nick!user@host> Forward Users banned from this channel will be forwarded to the specified one instead
MODE +b ~S:<channel> Sync If a user is banned in the specified channel, they will be banned in this one as well. This does not copy the other channel's banlist to yours, so changes made to their banlist after the sync will affect your channel as well