![textual irc textual irc](https://i.ytimg.com/vi/UMEd-mYJiak/maxresdefault.jpg)
Preventing Display of FormattingĬlients may allow users to prevent all or just specified formatting from displaying. For example, displaying an underline formatting character as U. One way some clients represent formatting characters they cannot display is using an uppercase letter which represents the specific formatting character, with their default foreground and background colors switched. Display the formatting character in an obvious way, so users are aware that it was used.If an IRC client cannot display a specified type of formatting, the client should do one of the following: This section is non-normative and outlines suggested behaviour for clients and client interfaces. If a client sends a USER command with any formatting codes in the first parameter (in the username) during registration, the server SHOULD send the client an ERROR message and close the connection. This is to avoid confusion and prevent issues, particularly with clients that have disabled the rendering of colors / formatting or cannot display certain types of formatting. The use of formatting MUST NOT be allowed in nicknames, user names or channel names. Hostnames sent to clients MAY contain formatting, and clients SHOULD display them with this in mind. On some networks and with some server software, vhosts (vanity hostnames) may contain formatting characters and codes. Namesįormatting is allowed and commonly used in realnames (set with the USER command when the client joins the network). USER (allowed in realnames, not in usernames)Īnd the numerics containing content associated with these messages and features.These are some of the messages and features formatting codes are normally used with:
![textual irc textual irc](https://i.ytimg.com/vi/NLCF2Th7SGg/maxresdefault.jpg)
This is not a complete list, just some of the messages formatting codes are used with most often. Messages / Numericsįormatting characters can be used in lots of IRC messages and numerics. This is not an expansive list nor does it note everywhere formatting is used, just some of the most common places. In this section, we outline the places where formatting is traditionally used by clients and allowed by servers. The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC2119.įormatting is widely used in IRC. Using formatting characters and methods not described in this document is possible, but it should be assumed they will not work across most clients (unless there is some way to fall back to what’s defined here).
Textual irc software#
However, the characters and codes described in this document are understood fairly consistently across clients today.įollowing what’s described in this document should let your software send and interpret formatting in a fairly sane way, consistent with how most other IRC software out there does. Over the years, many clients have attempted to create their own methods of formatting and there have been variations and extensions of almost every method. These characters allow IRC software to send and receive colors and formatting codes such as bold, italics, underline and others. IRC clients today understand a number of special formatting characters. If I've missed out on some formatting character or method which is understood by a majority of IRC software in use today, or have made a mistake in this document, please open an issue or contact me. It is a living specification which is updated in response to feedback and implementations as they change. The chat filter can trigger some actions when certain things happen, like user joins channel #foo, and we are going to use the /notifybubble and /notifysound commands to alert us about this event.This document describes what I consider to be almost universally understood formatting. trigger a highlight) whenever someone joins that support channel. Suppose you’re staff in a support channel which isn’t very frequented by other users, and you want Textual to make a sound and show a notification (i.e.