From WikiChip
Editing mirc/identifiers/$caller
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{mirc title|$caller Identifier}}'''$caller''' | + | {{mirc title|$caller Identifier}}'''$caller''' indicates the type of the caller. |
The possible returned value can be: | The possible returned value can be: | ||
Line 16: | Line 16: | ||
* "sendmsg" - called from a {{mIRC|sendmessage|sendmessage()}} function | * "sendmsg" - called from a {{mIRC|sendmessage|sendmessage()}} function | ||
* "timer" - called from a timer | * "timer" - called from a timer | ||
− | + | * "other" - called from other contexts including label of popups menu and /filter -a | |
− | + | ||
− | * "other" - called from other contexts including | ||
− | |||
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
<pre>$caller</pre> | <pre>$caller</pre> | ||
+ | |||
== Parameters == | == Parameters == | ||
None | None | ||
== Properties == | == Properties == | ||
None | None | ||
+ | |||
== Example == | == Example == | ||
− | |||
− | |||
Command & Identifier: execute /A or //noop $A | Command & Identifier: execute /A or //noop $A | ||
<source lang="mIRC">alias A B | <source lang="mIRC">alias A B | ||
alias B echo -ag $caller</source> | alias B echo -ag $caller</source> | ||
− | Editbox: | + | Editbox: execute /A |
− | execute | ||
− | |||
− | |||
<source lang="mIRC">alias A echo -ag $caller</source> | <source lang="mIRC">alias A echo -ag $caller</source> | ||
Line 50: | Line 43: | ||
Menu: right click in a channel | Menu: right click in a channel | ||
<source lang="mIRC">menu channel { | <source lang="mIRC">menu channel { | ||
− | + | item : echo -a $caller | |
}</source> | }</source> | ||
Line 63: | Line 56: | ||
</source> | </source> | ||
+ | In alt+P code for nicklist right-click menu: | ||
+ | <source lang="mIRC"> | ||
+ | $caller displays in menu text as other:echo -a $caller displays as menu | ||
+ | </source> | ||
== Compatibility == | == Compatibility == | ||
− | + | pending, beta stage | |
− | |||
== See Also == | == See Also == |