From WikiChip
Difference between revisions of "mirc/commands/setlayer"
(Created page with "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...") |
m (Bot: Adding a template) |
||
Line 40: | Line 40: | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
* [[/window command - mIRC|/window]] | * [[/window command - mIRC|/window]] | ||
+ | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:MIRC commands]] |
Revision as of 21:02, 3 July 2014
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/08/2007
Note: Individual switches were not taken into consideration.
See also
mIRC commands list