From WikiChip
Difference between revisions of "mirc/identifiers/$caller"
(→Example) |
|||
Line 28: | Line 28: | ||
== Example == | == Example == | ||
− | <source lang="mIRC"> | + | <source lang="mIRC">alias myalias echo -ag $caller</source> |
== Compatibility == | == Compatibility == |
Revision as of 20:55, 7 January 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$caller returns a value which indicate in which kind of exact context an alias was called.
The possible returned value can be:
- "activex" -
- "command" - called from a command
- "dde" - called from a DDE call
- "dll" - called from a DLL call
- "dragdrop" - called from a dragndrop context
- "editbox" - called from an editbox
- "event" - called from an event
- "funckey" - called from a function key context
- "identifier" - called from an identifier
- "menu" - called from a menu
- "mouse" -
- "play" - called from a /play context
- "sendmsg" - called from a sendmessage() function
- "timer" - called from a timer
- "other" -
Synopsis
$caller
Parameters
None
Properties
None
Example
alias myalias echo -ag $caller
Compatibility
pending, beta stage