From WikiChip
Difference between revisions of "mirc/identifiers/$remote"
< mirc‎ | identifiers

(Created page with "{{mirc title|$remote Identifier}}'''$remote''' returns a bitwise integer indicating if ctcps/events/raws are enabled. == Synopsis == <pre>$remote</pre> The value are OR'ed t...")
 
(See Also)
Line 29: Line 29:
  
 
== See Also ==
 
== See Also ==
 
+
{{mIRC|/remote}}
 
[[Category:MIRC identifiers]]
 
[[Category:MIRC identifiers]]

Revision as of 16:02, 8 September 2015

$remote returns a bitwise integer indicating if ctcps/events/raws are enabled.

Synopsis

$remote

The value are OR'ed together 1 | 2 | 4

0 is returned when remote are off, 7 when everything is enabled, see the example to check one of them manually.

Paramters

None

Properties

None

Example

if ($remote & 1) echo -a ctcps are enabled
 
if ($remote & 2) echo -a events are enabled
 
if ($remote & 4) echo -a raws are enabled

Compatibility

Added: mIRC v5.8
Added on: 05 Sep 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

/remote