Category:Identifiers

From Scriptwiki
Revision as of 17:33, 1 September 2005 by Tovrleaf (talk | contribs)

Jump to: navigation, search

Identifiers are sort of functions. Except, identifier always must return a value. When identifier is evaluated in command line or script, it replaces it with the current value of that identifier. Identifiers which cannot be evaluated or evaluate to no value return the value $null. $null can be used again in if-then-else structures or in comparison.

Most identifiers ain't even recognised as identifiers because of their generality in mIRC scripting.


Just to mention few, $me returns to your current nickname. $ctime returns in current unixtime. $mircdir returns directory of mIRC program. Identifier can hold different values. $ibl(#mirc,1) returns the first address in the ban list, $ibl(#mirc,1).by the address of user who set the ban, $ibl(#mirc,1).date returns the date when the user set the ban.

Some not so wellknown idenfiers are $1- (it really is an identifier too), $? and $0.

Groups

The identifiers are organized by groups as follows: Time and Date Identifiers File and Directory Identifiers Nick and Address Identifiers Text and Number Identifiers Token Identifiers Window Identifiers Other Identifiers

There are also specialized identifiers for Agents, Dde Control, Custom Windows, Picture Windows, Sockets, Remote, Dialogs, Binary Files, Hash Tables, Regular Expressions, COM Objects, Signals, Multi-server, Internal Address List, Sounds, and File Handling.

See Also

Contributed by Tovrleaf