From WikiChip
Difference between revisions of "mirc/commands/setlayer"
m (Bot: Adding a template) |
m (→Compatibility: Actually added in 5.9) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{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. | ||
Line 30: | Line 31: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.9}} | |
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* [[List of commands - mIRC|List of commands]] | * [[List of commands - mIRC|List of commands]] | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
− | * | + | * {{mIRC|/window}} |
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|setlayer command - mIRC]] |
Latest revision as of 17:49, 6 August 2021
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