From WikiChip
/setlayer Command - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /setlayer command can be used to change the transparency of a given window. If no window is provided, the transparency setting will apply to the main MDI window. The setlayer works on all windows as long as the full name is provided, for example "Status Window" for the status window.
Transparency[edit]
Transparency can be between 0 and 255, where 0 = 100% transparency.
Synopsis[edit]
/setlayer <0-255> [@window / #channel / query / windowName]
Switches[edit]
None
Parameters[edit]
- <0-255> - alpha channel value
- [@window / #channel / query / windowName] - The window to apply the transparency to
Example[edit]
Alias Example { ; create a new desktop window (with an editbox) window -de @Example ; set @example to 204/255 (%20) transparency setlayer 204 @Example ; a friendly message echo @Example 20% Transparency! }
You can change the transparency of other windows as well:
; sets the dcc chat window with David to 75% Transparency. (The quotes are not required.) setlayer 191 "Chat David"
Compatibility[edit]
Added: mIRC v5.9
Added on: 26 Apr 2001
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC commands list