From WikiChip
Difference between revisions of "mirc/commands/titlebar"
m |
m (→Compatibility: Use version syntax) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|/titlebar Command | + | {{mirc title|/titlebar Command}} |
The '''/titlebar command''' can be used to change the titlebar of a window, either the main mIRC window, or a custom @window. | The '''/titlebar command''' can be used to change the titlebar of a window, either the main mIRC window, or a custom @window. | ||
== Synopsis == | == Synopsis == | ||
− | /titlebar [@window] <text> | + | /titlebar -m [@window] <text> |
== Switches == | == Switches == | ||
− | + | * '''-m''' - change the titlebar of the main application even if you pass a window's name | |
== Parameters == | == Parameters == | ||
Line 23: | Line 23: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|4.5}} | |
== See also == | == See also == | ||
Line 29: | Line 29: | ||
* {{mirc|identifiers|List of identifiers}} | * {{mirc|identifiers|List of identifiers}} | ||
* {{mirc|$window}} | * {{mirc|$window}} | ||
− | * {{mirc|$ | + | * {{mirc|$titlebar}} |
{{mIRC command list}} | {{mIRC command list}} | ||
[[Category:mIRC commands|titlebar command - mIRC]] | [[Category:mIRC commands|titlebar command - mIRC]] |
Latest revision as of 20:50, 21 January 2024
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /titlebar command can be used to change the titlebar of a window, either the main mIRC window, or a custom @window.
Synopsis[edit]
/titlebar -m [@window] <text>
Switches[edit]
- -m - change the titlebar of the main application even if you pass a window's name
Parameters[edit]
- [@window] - if specified, the window's name, otherwise the main mIRC's window is used.
- <text> - the new text for the titlebar, all control codes are stripped from the text.
Example[edit]
alias refresh_win { ; create a window if it doesn't exist if (!$window($1)) window $1 ; refresh the titlbar of that window titlebar $1 Position: $window($1).x $window($1).y ; refresh mIRC's main window's titlebar titlebar Active : $1 }
Compatibility[edit]
Added: mIRC v4.5
Added on: 30 Jun 1996
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