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''' returns a value which indicates the context in which your alias has been called.
+
{{mirc title|$caller Identifier}}'''$caller''' indicates the type of the caller.
  
 
The possible returned value can be:
 
The possible returned value can be:
* "activex" - called from $comcall
+
* "activex" - called from
 
* "command" - called from a command
 
* "command" - called from a command
 
* "dde" - called from a external application using {{mIRC|$dde|DDE}}  
 
* "dde" - called from a external application using {{mIRC|$dde|DDE}}  
Line 8: Line 8:
 
* "dragdrop" - called from a drag'n'drop event
 
* "dragdrop" - called from a drag'n'drop event
 
* "editbox" - called from an editbox
 
* "editbox" - called from an editbox
* "event" - called from an event (including $devent = mouse)
+
* "event" - called from an event
 
* "funckey" - called from a function key
 
* "funckey" - called from a function key
 
* "identifier" - called from an identifier
 
* "identifier" - called from an identifier
 
* "menu" - called from a menu
 
* "menu" - called from a menu
* "mouse" - called from an alias attached to toolbar menu
+
* "mouse" - called from a mouse
 
* "play" - called from a {{mIRC|/play}} context
 
* "play" - called from a {{mIRC|/play}} context
 
* "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
* "http" - call back alias from $urlget
+
* "other" - called from any other context
* "tabcomp" - called from a tab completion in editbox
+
 
* "other" - called from other contexts including:
 
# label of popups menu
 
# /filter -a sort_alias
 
# identifier in dialog table (ie returning one of the x y w h numbers)
 
  
 
== Synopsis ==
 
== Synopsis ==
 
<pre>$caller</pre>
 
<pre>$caller</pre>
 +
 
== Parameters ==
 
== Parameters ==
 
None
 
None
 
== Properties ==
 
== Properties ==
 
None
 
None
 +
 
== Example ==
 
== Example ==
Activex: edit the echo in the alias cbthread in {{mIRC|$comcall}} page to include $caller
 
 
 
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: /A
 
or
 
execute: //echo -a $caller
 
 
<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 {
$caller displays in menu label text as other:echo -a $caller displays here as menu
+
item : echo -a $caller
 
}</source>
 
}</source>
  
Line 62: Line 55:
 
//timer 1 1 echo -a $ $+ caller
 
//timer 1 1 echo -a $ $+ caller
 
</source>
 
</source>
 +
 +
 +
  
 
== Compatibility ==
 
== Compatibility ==
== Compatibility ==
+
pending, beta stage
{{mIRC compatibility|7.52}}
 
  
 
== See Also ==
 
== See Also ==
{{collist
+
{{mIRC|$fromeditbox}}
|count = 3
+
 
|style = width: 100%; display: inherit;
+
[[Category:mIRC identifiers|caller]]
|
 
* {{mIRC|$fromeditbox}}
 
* {{mIRC|$comcall}}
 
* {{mIRC|/toolbar}}
 
* {{mIRC|/filter}}
 
* {{mIRC|$dll}}
 
* {{mIRC|$dde}}
 
* {{mIRC|/play}}
 
* {{mIRC|/timer}}
 
* {{mIRC|$devent}}
 
}}
 

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)