Added in 2.4

/icon [-mscptfnrheiobu] <filename>
/icon [-r] [window] <filename>

Sets or resets the icon for the specified window type or window.

Switches

Switch Description
-m Main icon.
-s Server icon.
-c Channel icon.
-p Query icon.
-t Tool icon.
-u Custom icon.
-f Folder icon.
-n Notify icon.
-r Resets icon.
-h Highlight icon.
-e Treebar arrow down icon.
-i Treebar arrow right icon.
-o Scroll to bottom arrow.
-b Treebar close icon.

Parameters

Parameter Description
[window] Window to change icon for. if no icon type is defined and no valid window is defined, current window is used. (optional)
<filename> The filename of the icon.

Example

; Change the channel icon.
/icon -c C:\Users\User\Pictures\icon1.ico

; Reset the channel icon.
/icon -cr