From WikiChip
Difference between revisions of "$false mirc/identifiers/-"
m (bot: correcting title) |
m (bot: correcting title) |
||
Line 1: | Line 1: | ||
− | {{mirc title|/- Identifier}}The '''$false''' identifier represents a false [[truth value]] in [[mIRC]]. Typically the $false identifier is returned as result of a request that failed or a negative answer such as when {{mIRC|$away}} is not set or if a file doesn't exist when checked via the [[$exists identifier - mIRC|$exists()]] identifier. The $false identifier is most commonly used in conjunction with [[conditional statements - mIRC|conditional statements]]. | + | {{mirc title|- Identifier}}{{mirc title|/- Identifier}}The '''$false''' identifier represents a false [[truth value]] in [[mIRC]]. Typically the $false identifier is returned as result of a request that failed or a negative answer such as when {{mIRC|$away}} is not set or if a file doesn't exist when checked via the [[$exists identifier - mIRC|$exists()]] identifier. The $false identifier is most commonly used in conjunction with [[conditional statements - mIRC|conditional statements]]. |
When $false is negated via the '''!''' negation operator, it becomes {{mIRC|$true}}. | When $false is negated via the '''!''' negation operator, it becomes {{mIRC|$true}}. |
Revision as of 07:05, 4 January 2015
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The $false identifier represents a false truth value in mIRC. Typically the $false identifier is returned as result of a request that failed or a negative answer such as when $away is not set or if a file doesn't exist when checked via the $exists() identifier. The $false identifier is most commonly used in conjunction with conditional statements.
When $false is negated via the ! negation operator, it becomes $true.
Example
alias example { var %foo = $false ; check negating $false yield $true if (!%foo) echo -a % $+ foo is false! ; checked against $false if (%foo == $false) echo -a % $+ foo is false! }
See also
mIRC identifier list