$dde
From Scriptwiki
Returns the value returned by the specified service name, topic, and item, by sending an XTYP_REQUEST.
$dde(name, topic, item, delay)
The item and delay parameters are optional.
The delay value indicates that you want $dde() to wait N seconds for a reply before giving up. The default is one second, which is usually enough.
Note: If the value returned by $dde is too long for mIRC to handle, $dde returns a value of $error.
Example
//echo My other mIRC is $dde(mirc, connected) to $dde(mirc, server)
Returns the connection status and connected server on an mIRC client.