From WikiChip
/tray Command - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /tray command can be used to change the tray settings for mIRC. The tray command can also be used to change the mIRC tray icon to the icon located at index N in the specific file. For all switches, N can be 0 for disabled or 1 for enabled.
Synopsis
/tray -iN <ico/exe/dll> /tray -mNsNtNaN
Switches
- -iN - The index of the icon in the file
- -mN - Always show mIRC icon in system tray
- -sN - Minimize mIRC to tray upon startup
- -tN - When minimized, place mIRC in the system tray
- -aN - Animate icon when there is activity
Parameters
- <ico/exe/dll> - The file with the icon to use
Example
alias example { ; always show the mIRC icon tray -m1 ; change the icon to a computer chip icon tray -i13 C:\Windows\System32\shell32.dll }
Compatibility
Added: mIRC v5.5
Added on: 08 Jan 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
mIRC commands list