This section explains the way how mIRC uses colors and themes.
The actual color assignment is composed of 2 sections in mIRC
The first assignment starts with n0 the next with n1 and so on.
Example:
[Colors]
n0=mIRC Classic,0,6,4,5,2,3,3,3,3,3,3,1,5,7,6,1,3,2,3,5,1,0,1,0,1,15,6,0
n1=MISHScript,1,13,4,0,13,10,3,3,8,10,3,15,4,14,15,15,3,11,3,8,14,1,0,1,15,14,6,15
[Palettes]
n0=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
n1=16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530
Each time you select a scheme from the Color Dialog it's name is stored in
[text]
theme=mIRC Classic
Upon start mIRC gets the Color Scheme name from the 'theme' item in the [text] section (mIRC Classic) and searches items in the [Colors] section, once its found, it uses the item name (here n0) and loads the data of the n0-item from the [Palettes] section and sets the appropriate colors.
|