(→Properties) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{mirc title|$dde Identifier}}'''$dde''' returns the value returned by the specified service name, topic, and item, by sending an XTYP_REQUEST. | {{mirc title|$dde Identifier}}'''$dde''' returns the value returned by the specified service name, topic, and item, by sending an XTYP_REQUEST. | ||
+ | |||
== Synopsis == | == Synopsis == | ||
Line 19: | Line 20: | ||
'''Note''': If the value returned by $dde() is too long for mIRC to handle, $dde returns a value of plain text "$error". | '''Note''': If the value returned by $dde() is too long for mIRC to handle, $dde returns a value of plain text "$error". | ||
+ | |||
+ | |||
'''Note2''': $dde supports one of the old syntax for some identifiers, evaluating '$dde name topic item' works (use 0 if no item, seems to be required sometimes), there's even a -dN switch for the delay: <script>//echo -a $dde mirc server 0"</script>should return the $server value you are connected to. | '''Note2''': $dde supports one of the old syntax for some identifiers, evaluating '$dde name topic item' works (use 0 if no item, seems to be required sometimes), there's even a -dN switch for the delay: <script>//echo -a $dde mirc server 0"</script>should return the $server value you are connected to. | ||
Line 33: | Line 36: | ||
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|dde]] |
Latest revision as of 13:55, 20 September 2017
$dde returns the value returned by the specified service name, topic, and item, by sending an XTYP_REQUEST.
Synopsis[edit]
$dde(name, topic, item, delay)
Parameters[edit]
nameThe service name
topicThe topic name
itemThe item name (optional)
delayif specified mIRC will wait <delay> seconds for a reply before giving up, default is 1 second (optional)
Properties[edit]
None
Note: If the value returned by $dde() is too long for mIRC to handle, $dde returns a value of plain text "$error".
Note2: $dde supports one of the old syntax for some identifiers, evaluating '$dde name topic item' works (use 0 if no item, seems to be required sometimes), there's even a -dN switch for the delay: <script>//echo -a $dde mirc server 0"</script>should return the $server value you are connected to.
Example[edit]
//echo My other mIRC is $dde(mirc, connected) to $dde(mirc, server)
Compatibility[edit]
Added: mIRC v3.9
Added on: 28 Dec 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.