Difference between revisions of "Formatting"

From Mibbit Wiki
Jump to: navigation, search
m (0x -> \u)
(\u and \x example)
Line 6: Line 6:
  
 
Different Operating Systems and Browsers may or may not be capable of displaying the special characters used by the mIRC formatting scheme (as they are generally meant to be hidden from user view) so the information displayed here may be incorrectly formatted for your system.
 
Different Operating Systems and Browsers may or may not be capable of displaying the special characters used by the mIRC formatting scheme (as they are generally meant to be hidden from user view) so the information displayed here may be incorrectly formatted for your system.
 
To use formatting in Mibbit Aliases (or even to copy directly into Mibbit's Chat Input field) you must be able to properly generate the character (see http://tools.mibbit.com/public/mirc-codes , doesn't work in chrome).
 
  
 
The hex character Codes:
 
The hex character Codes:
* Bold Text - Character \u0002 (it can be copied from the output of /cs info #ch , a "square" following the "channel #ch" in some browsers)
+
* Bold Text - Character \u0002 or \x2 (it can be copied from the output of /cs info #ch , a "square" following the "channel #ch" in some browsers)
 
* Underlined Text - Character \u001F  
 
* Underlined Text - Character \u001F  
 
* Italic Text - Character \u0016 - not working in mibbit(?)
 
* Italic Text - Character \u0016 - not working in mibbit(?)
 
* Color Text - Character \u0003 (followed by simple number codes to indicate the selected color)
 
* Color Text - Character \u0003 (followed by simple number codes to indicate the selected color)
* Normal Text - Character \u000F
+
* Normal Text - Character \u000F or \uF
 +
 
 +
An alias xample:
 +
 
 +
Match: /mytop  Command: /topic \u2 $+ \u3 $+ 8,4 Do NOT PM anybody without asking ! \uF $1-
 +
 
 +
To use formatting in Mibbit '''Filters''' (or even to copy directly into Mibbit's Chat Input field) you must be able to properly generate the character (see http://tools.mibbit.com/public/mirc-codes , doesn't work in chrome).
  
 
An excellent reminder with formatting and color is '''simply because you can, does not mean you should.'''
 
An excellent reminder with formatting and color is '''simply because you can, does not mean you should.'''

Revision as of 15:16, 22 May 2010

This is a technical article and may not be helpful to non-technical users.

This article has to do with inline formatting of IRC channel text by users. IRC formatting is complicated because there is no official IRC standard, only de facto standards implemented by IRC client developers. The most common scheme is the mIRC encoding, Mibbit uses this standard.

In short, a special character signals special formatting. For colors it uses a special character, followed by a number indicating color. The IRC client then hides this special character and the color code (if it is a color).

Different Operating Systems and Browsers may or may not be capable of displaying the special characters used by the mIRC formatting scheme (as they are generally meant to be hidden from user view) so the information displayed here may be incorrectly formatted for your system.

The hex character Codes:

  • Bold Text - Character \u0002 or \x2 (it can be copied from the output of /cs info #ch , a "square" following the "channel #ch" in some browsers)
  • Underlined Text - Character \u001F
  • Italic Text - Character \u0016 - not working in mibbit(?)
  • Color Text - Character \u0003 (followed by simple number codes to indicate the selected color)
  • Normal Text - Character \u000F or \uF

An alias xample:

Match: /mytop  Command: /topic \u2 $+ \u3 $+ 8,4 Do NOT PM anybody without asking ! \uF $1-

To use formatting in Mibbit Filters (or even to copy directly into Mibbit's Chat Input field) you must be able to properly generate the character (see http://tools.mibbit.com/public/mirc-codes , doesn't work in chrome).

An excellent reminder with formatting and color is simply because you can, does not mean you should.

Other (non-Mibbit) Resources: