mIRC Home    About    Download    Register    News    Help

Print Thread
DDE Evaluating? #6619 15/01/03 03:14 AM
Joined: Jan 2003
Posts: 98
T
twigboy Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Jan 2003
Posts: 98
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!~?

Re: DDE Evaluating? #6620 15/01/03 04:33 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try
//echo My other mIRC is on $dde(mirc, evaluate, $!server)

Re: DDE Evaluating? #6621 15/01/03 09:08 AM
Joined: Jan 2003
Posts: 98
T
twigboy Offline OP
Babel fish
OP Offline
Babel fish
T
Joined: Jan 2003
Posts: 98
THANK [email]YOU@!!!@!@~~!![/email] shocked grin

Re: DDE Evaluating? #6622 15/01/03 10:39 AM
Joined: Dec 2002
Posts: 20
C
Cassius Offline
Ameglian cow
Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 20
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...


"Illegitimati non Carborundum" -> "Don't let the bastards grind you down."
Re: DDE Evaluating? #6623 15/01/03 10:56 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
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.

Re: DDE Evaluating? #6624 15/01/03 11:09 AM
Joined: Dec 2002
Posts: 20
C
Cassius Offline
Ameglian cow
Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 20
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. ;-)


"Illegitimati non Carborundum" -> "Don't let the bastards grind you down."