This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Escape codes one can use in a module.

Old posts that have not been replied to for several years.
Locked
M
M0dj0

Post by M0dj0 »

Hi all,

Does anyone know where i can find a list of all possible "escape codes" that can be used in a module for formating/colorizing output text, i.e. text sent through PRIVMSG to a user with dprintf(...)?

I know the following :

02Bold text02
26Interlace text26
37Underlined text37

but i want to know i.e. color codes etc.

Thanx in advance for you help.

// M0dj0
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

colour is 03
M
M0dj0

Post by M0dj0 »

Hi Petersen,

How do i specify what colour i want to use ?
03 is just the "escape code" for colour, or does it mean any special colour ?

// M0dj0
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Quoted from the mIRC helpfile.

Code: Select all

0 white		8 yellow
	1 black		9 lightgreen
	2 blue		10 cyan
	3 green		11 lightcyan
	4 lightred		12 lightblue
	5 brown		13 pink
	6 purple		14 grey
	7 orange		15 lightgrey

p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Note, that also, these codes continue up.

EG. 16 is White, 18 is Blue.

Note, that 99 is used to indicate a transparent colur (to match the users background colour.
Locked