Custom Switchbar
Written by [AFX]
www.merkFXScript.tk
somebodysomeone__@hotmail.com
Requires: mIRC 6.15+

I'd like to thank xhaker for his work in creating the icon highlight icons,
and helping me with other things. He helped me even when he was busy, and 
he also helped me with other things too. Thanks man!

Also, thanks to teh for the killer reviews and the testing.



INSTALLATION

1. Open the zip file containing the addon
2. Extract anywhere, preferbly your mIRC directory
3. Run mIRC and type /load -rs Switchbar.mrc


------

USAGE

There are 2 ways on using this addon: Setup dialog or the command line.

The Setup dialog is easy to use, it's filled with wonderful (sarcasm) 
checkboxes, buttons, and a loveable (sarcasm) list of all the icons you 
want to use for the Switchbar. To change an icon, select the window in
the list that you want to change, then click the "!" buttom to select.
A dialog will popup for the path to the icon (this is where you find it).
This addon supports any icon format (ico,icl,dll,exe,etc), so pick any 
icon.

The command line interface is easy too, but you can't switch the icons yet.
To switch them, just use the Setup dialog. Here is the command format:

Usage: /sbopt <parameters> [on|off|left|top|right|bottom]

Here are properties...

hl - highlighting
scheme - XP-style scheme
bkg - XP-style background color
flat - flat appearance
iconhl - icon highlighting
resize - resize to fit (buttons will be the same length as the text of the button)
refresh - refresh the switchbar
reload - reloads the switchbar
prop - returns the settings of the switchbar
load - turns the switchbar on
close - closes the switchbar
pos - switch the side the switchbar is on

The [on|off] parameters only refer to the hl, scheme, bkg, flat, and resize 
properties. The [left|top|right|bottom] parameters refer to the pos property.

Examples: 

/sbopt hl on <- turns highlighting on
/sbopt resize off <- turns on the "Resize to fit" property on 
/sbopt reload <- closes, then re-opens the switchbar
/sbopt prop <- shows you the switchbar properties
/sbopt pos right <- switches the switchbar to the right side

On the switchbar, it lists the servers, channels, queries, custom windows, DCC's
and the Channels/Links/URL/Notify lists. If you happen to kill the menubar, you can do a 
SHIFT-LCLICK on the switchbar to close that window. You can also make a small menu appear
by doing a CTRL+LCLICK on any data in the switchbar that has minimize/maximize/restore
and close functions. To switch to another server, just click inside the combo box to the 
server you wish to switch to.