mIRC Home    About    Download    Register    News    Help

Print Thread
Switchbar visual improvements #255674
13/11/15 03:34 PM
13/11/15 03:34 PM
Joined: Dec 2008
Posts: 1,511
Greece
westor Offline OP
Hoopy frood
westor  Offline OP
Hoopy frood

Joined: Dec 2008
Posts: 1,511
Greece
Hello,

I had to see in a lot of new versions of mIRC to adding something visual feature to make it more beautiful, so i wanna suggest some new items related to switchbar.

1) Allow to move any of the channel tabs from the switchbar left/right according to the specific network.

1. example: moving via mouse the $chan(5) into $chan(1) position.

2) Adding an option to change the connection id icon and any channel icon from the switchbar via the /background command, and also adding into the $chan identifier an prop to catch the icon path and a new identifier to return the connection id icon path.

2. examples:

//background -C <#channel> <iconpath>
e.g: //background -C #test_chan $qt($mircdiricons\test.ico)

//background -N <connection cid> <iconpath>
e.g: //background -N 42 $qt($mircdiricons\network.ico)

$cidicon = retuns the changed icon path from the specific connection id window.
$chan(1).icon = returns the changed icon path from the specified channel number.

- Thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-
Re: Switchbar visual improvements [Re: westor] #255675
13/11/15 03:43 PM
13/11/15 03:43 PM
Joined: Apr 2010
Posts: 910
USA
F
FroggieDaFrog Offline
Hoopy frood
FroggieDaFrog  Offline
Hoopy frood
F

Joined: Apr 2010
Posts: 910
USA
Such changes should also be applicable for the treebar

--
Instead of piggybacking off the background command, maybe add a new command & identifer:
Code:
/icon -dscqw...xN [iconfile [n]]

Sets the icon for the specified window type with the result of any where such an icon would be displayed the specified one is displayed instead(Switchbar, Treebar, Top-Left corner of window, etc)

-d: Sets the icon as the default for all windows
-s: Sets the icon for status windows
-c: Sets the icon for channel windows
-q: Sets the icon for query windows
-w: Sets the icon for custom windows

-...: and so on for each window type that has a unique icon

-x[n]: Resets the window type's icon; if n is 1, resets all icons and any specified 'default' icon to mIRC's native icons



Code:
$icon(dscqw|windowname)[.index]

Returns the iconfile used for the window type or specified window

.index: when specified, returns the index within the iconfile used




Last edited by FroggieDaFrog; 13/11/15 03:59 PM.

I am SReject
My Stuff