Added in 2.4

/icon [-mscptufr] [window]

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

Switches

-m - Main icon.
-s - Server icon.
-c - Channel icon.
-p - Query icon.
-t - Tool icon.
-u - Custom icon.
-f - Folder icon.
-r - Resets icon.

Parameters

[window] - Window to change icon for, if no icon is defined and no window type is defined, current window is used.

Example

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

; Reset the channel icon.
/icon -cr