From WikiChip
Difference between revisions of "mirc/identifiers/$remote"
(→See Also) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$remote | + | {{mirc title|$remote identifier}}'''$remote''' returns a bitwise integer indicating if ctcps/events/raws are enabled. |
+ | |||
== Synopsis == | == Synopsis == | ||
Line 8: | Line 9: | ||
0 is returned when remote are off, 7 when everything is enabled, see the example to check one of them manually. | 0 is returned when remote are off, 7 when everything is enabled, see the example to check one of them manually. | ||
− | == | + | == Parameters == |
− | |||
None | None | ||
== Properties == | == Properties == | ||
− | |||
None | None | ||
Line 19: | Line 18: | ||
<source lang="mIRC"> | <source lang="mIRC"> | ||
if ($remote & 1) echo -a ctcps are enabled | if ($remote & 1) echo -a ctcps are enabled | ||
− | |||
if ($remote & 2) echo -a events are enabled | if ($remote & 2) echo -a events are enabled | ||
− | |||
if ($remote & 4) echo -a raws are enabled | if ($remote & 4) echo -a raws are enabled | ||
</source> | </source> | ||
Line 28: | Line 25: | ||
{{mIRC compatibility|5.8}} | {{mIRC compatibility|5.8}} | ||
− | == See | + | == See also == |
− | {{mIRC|/remote}} | + | * {{mIRC|/remote}} |
− | [[Category: | + | {{mIRC identifier list}} |
+ | [[Category:mIRC identifiers|remote]] |
Latest revision as of 12:19, 22 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$remote returns a bitwise integer indicating if ctcps/events/raws are enabled.
Synopsis[edit]
$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.
Parameters[edit]
None
Properties[edit]
None
Example[edit]
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[edit]
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[edit]
mIRC identifier list