From WikiChip
Editing mirc/identifiers/$window
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
<source lang="mIRC">$window(N/name) | <source lang="mIRC">$window(N/name) | ||
− | $window | + | $window(N/name) |
</source> | </source> | ||
Line 10: | Line 10: | ||
* '''N''' - The Nth @custom window, if N is 0, returns the total number of windows. | * '''N''' - The Nth @custom window, if N is 0, returns the total number of windows. | ||
− | * '''Name''' - The name of query/channel/@custom window, or "status window" | + | * '''Name''' - The name of query/channel/@custom window, or "status window" |
'''Note''': you can use -1 or @desktop to refer to the screen, -2 or @mirc to refer to the main mIRC window, and -3 or @mdi to refer to the mdi window where all others windows inside mIRC are displayed, these @name are reserved. You can use the .x .y .w .h .dx .dy .dw .dh properties with these parameters to get the size of these windows (or your screen's size) | '''Note''': you can use -1 or @desktop to refer to the screen, -2 or @mirc to refer to the main mIRC window, and -3 or @mdi to refer to the mdi window where all others windows inside mIRC are displayed, these @name are reserved. You can use the .x .y .w .h .dx .dy .dw .dh properties with these parameters to get the size of these windows (or your screen's size) | ||
Line 25: | Line 25: | ||
* '''font''' - the name of the window's font | * '''font''' - the name of the window's font | ||
* '''fontsize''' - the window's font size | * '''fontsize''' - the window's font size | ||
− | |||
* '''fontbold''' - $true if the font is bold, otherwise returns $false | * '''fontbold''' - $true if the font is bold, otherwise returns $false | ||
* '''fontitalic''' - $true if the font is italic, otherwise returns $false | * '''fontitalic''' - $true if the font is italic, otherwise returns $false | ||
* '''fontcs''' - the character set of the current font | * '''fontcs''' - the character set of the current font | ||
− | |||
* '''logfile''' - the path\filename of the window's logfile if one is open | * '''logfile''' - the path\filename of the window's logfile if one is open | ||
* '''stamp''' - timestamp setting, $true or $false | * '''stamp''' - timestamp setting, $true or $false | ||
Line 46: | Line 44: | ||
* '''idle''' - returns the number of second elapsed since someone different from you talked in a channel/query | * '''idle''' - returns the number of second elapsed since someone different from you talked in a channel/query | ||
* '''lb''' - returns 0 if the window has no listbox, 1 if it has a listbox, or 2 if it has a side listbox | * '''lb''' - returns 0 if the window has no listbox, 1 if it has a listbox, or 2 if it has a side listbox | ||
− | |||
== Example == | == Example == |