mIRC Homepage
Posted By: twigboy DDE Evaluating? - 15/01/03 03:14 AM
i've read the help file for DDE Server info
i can get "connected" and "channels" to work
eg. //echo My other mIRC is $dde(mirc, connected) to $dde(mirc, server) on $dde(mirc, channels)

My other mIRC is connected to irc-4.aniverse.com on #destined #indian-delights #ae-hiru #unitedanime

but when i try "evaluate"
it doesnt work
eg. //echo My other mIRC is on $dde(mirc, evaluate, $server)

My other mIRC is on


how do i work this thing!~?
Posted By: Collective Re: DDE Evaluating? - 15/01/03 04:33 AM
Try
//echo My other mIRC is on $dde(mirc, evaluate, $!server)
Posted By: twigboy Re: DDE Evaluating? - 15/01/03 09:08 AM
THANK [email]YOU@!!!@!@~~!![/email] shocked grin
Posted By: Cassius Re: DDE Evaluating? - 15/01/03 10:39 AM
Now just for my own understanding, why would $!server work over plain old $server? something like the mIRC he was using was filling in the $server value itself?

Strangeness, but nice to know...
Posted By: Collective Re: DDE Evaluating? - 15/01/03 10:56 AM
The following are the results of a VERY quick test, so don't bite my head off if it's wrong:

When he is typing:
//echo My other mIRC is on $dde(mirc, evaluate, $server)
The mIRC he's typing it in is evaluating $server to whatever server he is on, so if he is not on a server (which I am 99% sure he wasn't) it evaluated $server to nothing, and so gave his other mIRC nothing to evaluate.

When he is typing:
//echo My other mIRC is on $dde(mirc, evaluate, $!server)
The mIRC he's typing it in is evaluating $!server to $server, and so it is telling his other mIRC to evaluate $server.
Posted By: Cassius Re: DDE Evaluating? - 15/01/03 11:09 AM
Ah, thanks for putting me on the right track! :-)

I found this in the mIRC help file under Multi-server, which I'm still getting used to btw... hehe...

(down at the bottom)
Note: If you use a command that contains $identifiers, and you want the identifiers to be evaluated in the target connection, you must pass them as $!identifier to prevent them from being evaulated first in the current connection.

And no, I wouldn't bite your head off. Not unless you were mean. Meanieheads taste better. ;-)
© mIRC Discussion Forums