mIRC Homepage

Changing switchbar color

Posted By: laz

Changing switchbar color - 18/08/03 03:02 AM

I'd find it useful if you could change the color of the switchbar. Example:

$switchbar(#channel|@window, color)

Thanks.
Posted By: KingTomato

Re: Changing switchbar color - 18/08/03 03:34 AM

You can, just need to use a bmp, or png >:D
/help /background


/background [-aemsgdluhcfnrtpx] [window] [filename]
Changes the background picture setting for a window. This can also be changed via a windows System Menu.

-a = active window
-m = main mIRC window
-s = status window
-g = finger window
-d = single message window

-e = set as default

-cfnrtp = center, fill, normal, stretch, tile, photo

-l = toolbar
-u = toolbar buttons
-h = switchbar

You can right-click in the toolbar/switchbar to pop up a menu for changing these settings. Toolbar buttons can use RGB Color 255,0,255 for transparency, the BMP must be of the same form as that in mIRC resources. It should be a 16 or 256 color BMP.
Posted By: Raccoon

Re: Changing switchbar color - 18/08/03 05:13 AM

I highly doubt that's what he meant.

He wants a $switchbar identifier to compliment the /window -g command. As do I.
Posted By: lammkott

Re: Changing switchbar color - 18/08/03 11:11 AM

I see how that could be useful, although I think it would be better for a /command to set the color and an $identifier to return the current color.
Posted By: qwerty

Re: Changing switchbar color - 18/08/03 01:17 PM

$window(<windowname>).sbcolor
Posted By: laz

Re: Changing switchbar color - 18/08/03 03:28 PM

Quote:

I see how that could be useful, although I think it would be better for a /command to set the color and an $identifier to return the current color.


Good point:

/switchbar [#channel|@window|nick|dcc] [color]

I remember someone asking if dcc could turn red when it failed.
Posted By: qwerty

Re: Changing switchbar color - 18/08/03 04:17 PM

Well, as Raccoon said, such command exists: /window -gN <windowname>
N = 0 -> none
N = 1 -> message colour
N = 2 -> highlight colour
N = 3 -> event colour
Posted By: cold

Re: Changing switchbar color - 23/08/03 06:59 PM

Doesn't he want to colour the buttons instead?
Posted By: qwerty

Re: Changing switchbar color - 23/08/03 08:56 PM

/window -gN alters the text colour of the switchbar buttons, and that's what I gathered from his post. It's possible that laz wanted to change the background colour of the buttons, but he hasn't responded anyway.
© 2021 mIRC Discussion Forums