From WikiChip
Editing mirc/identifiers/$cnick
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 1: | Line 1: | ||
{{mirc title|$cnick Identifier}}'''$cnick''' returns the 'Nick or address' field from the Edit dialog of the Nth entry in the Nick Colors dialog, or if a nick/address is specified, returns the Nth position of the item in list that matches the nick. If the nick/address does not match any items, returns zero. | {{mirc title|$cnick Identifier}}'''$cnick''' returns the 'Nick or address' field from the Edit dialog of the Nth entry in the Nick Colors dialog, or if a nick/address is specified, returns the Nth position of the item in list that matches the nick. If the nick/address does not match any items, returns zero. | ||
− | |||
== Synopsis == | == Synopsis == | ||
<pre>$cnick(N/nick, M)</pre> | <pre>$cnick(N/nick, M)</pre> | ||
− | == | + | == Paramters == |
* '''<N/nick>''' - a number representing the Nth item in the Nick Color dialog or a nickname/address used as a match against the field 'Nick or address' in Nick Color Edit dialog | * '''<N/nick>''' - a number representing the Nth item in the Nick Color dialog or a nickname/address used as a match against the field 'Nick or address' in Nick Color Edit dialog | ||
Line 11: | Line 10: | ||
== Properties == | == Properties == | ||
− | * '''.color | + | * '''.color''' - return the color for that entry. if no item is found via a nick/address match, the 'Normal Text' color is returned, if the M parameter is 1, the 'Listbox text' is color is returned |
* '''.modes''' - return the 'Channel modes' field | * '''.modes''' - return the 'Channel modes' field | ||
* '''.levels''' - return the 'User levels' field | * '''.levels''' - return the 'User levels' field | ||
Line 23: | Line 22: | ||
* '''.notify''' - return the state of the 'notify' checkbox | * '''.notify''' - return the state of the 'notify' checkbox | ||
* '''.idle''' - return the 'Idle time' field | * '''.idle''' - return the 'Idle time' field | ||
− | |||
== Example == | == Example == | ||
Line 35: | Line 33: | ||
− | [[Category: | + | [[Category:MIRC identifiers]] |