From WikiChip
Difference between revisions of "mirc/commands/setlayer"
m (bot: correcting title) |
m (Bot: de-linking old mIRC menu) |
||
Line 1: | Line 1: | ||
− | {{mirc title|/setlayer Command | + | {{mirc title|/setlayer Command}} |
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. | 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. | ||
Revision as of 18:40, 15 June 2017
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
Transparency can be between 0 and 255, where 0 = 100% transparency.
Synopsis
/setlayer <0-255> [@window / #channel / query / windowName]
Switches
None
Parameters
- <0-255> - alpha channel value
- [@window / #channel / query / windowName] - The window to apply the transparency to
Example
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
Added: mIRC v6.3
Added on: 16 Aug 2007
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