From WikiChip
Difference between revisions of "mirc/commands/titlebar"
(→Synopsis) |
(→Switches) |
||
Line 6: | Line 6: | ||
== Switches == | == Switches == | ||
− | + | * '''-m''' - change the titlebar of the main application even if you pass a window's name | |
== Parameters == | == Parameters == |
Revision as of 17:15, 12 July 2020
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
/titlebar -m [@window] <text>
Switches
- -m - change the titlebar of the main application even if you pass a window's name
Parameters
- [@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
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
Added: mIRC 4.5
See also
mIRC commands list