From WikiChip
Difference between revisions of "mirc/commands/away"
m (Bot: Fixing compatibility) |
(Add note about "Cancel away on activty" setting.) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/away Command}} | ||
The '''/away command''' marks you as away with the server. Using the away with no parameters will unset your away status. Even though /away uses IRC to mark you as away; this command also stores the away message and the time left internally. | The '''/away command''' marks you as away with the server. Using the away with no parameters will unset your away status. Even though /away uses IRC to mark you as away; this command also stores the away message and the time left internally. | ||
Line 47: | Line 48: | ||
else echo -c info * /remAway: You are not away | else echo -c info * /remAway: You are not away | ||
}</syntaxhighlight> | }</syntaxhighlight> | ||
+ | |||
+ | == Notes == | ||
+ | The /away status will be disabled if "Cancel away on activity" is enabled. (ALT+O -> IRC -> Options -> Other:) | ||
+ | |||
== Compatibility == | == Compatibility == | ||
Line 59: | Line 64: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|away command - mIRC]] |
Latest revision as of 22:28, 20 January 2024
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /away command marks you as away with the server. Using the away with no parameters will unset your away status. Even though /away uses IRC to mark you as away; this command also stores the away message and the time left internally.
Synopsis[edit]
/away [message]
Switches[edit]
None
Parameters[edit]
- [message] - The away message to be set.
Example[edit]
;Set an away message /away Work, will be back at 10PM ;Unset your away status /away
The above example will output:
- You have been marked as being away - You are no longer marked as being away -
The /away command is usually combined with the $away, $awaymsg, and $awaytime idnetifers:
; /setAway Work, will be back at 10PM alias setAway { if (!$away) { ; mark as away away $$1- amsg I am currently away } else echo -c info * /setAway: You are currently away } ; /remAway alias remAway { if ($away) { amsg I am back (from: $awaymsg $+ ) I was gone for $duration($awaytime) ;unset the away status away } else echo -c info * /remAway: You are not away }
Notes[edit]
The /away status will be disabled if "Cancel away on activity" is enabled. (ALT+O -> IRC -> Options -> Other:)
Compatibility[edit]
Added: mIRC v2.1a
Added on: 28 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC commands list