From WikiChip
/titlebar Command - mIRC
< mirc‎ | commands

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]

[Expand]
v · d · e mIRC commands list