mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
on *:dialog:uad:sclick:2:{
  did -r uad 4
  .scon $did(2).sel
  echo -a $network $nick
  did -ra uad 6 $nick
  var %a = 1, %b = $chan(0)
  while %a <= %b {
    did -a uad 4 $chan(%a)
    inc %a
  }
}

This is the section of code where I noticed the problem. Most of it works as expected, but when tested with 3 network connections, the value echoed (and put in the dialog) for the $nick identifier stayed the same over all three networks, inspite of the fact that I was using 3 different nicks.. one per network.

If more code is required, let me know and I'll post the rest of what I have (it's still incomplete)

Joined: Jan 2008
Posts: 22
D
Ameglian cow
Offline
Ameglian cow
D
Joined: Jan 2008
Posts: 22
a dialog event may return $me but not $nick but i am second guessing you & maybe you have sorted that out, i just cant see the rest of the dialog. It also maybe that a dialog will work on the connection it is opened on even if you change networks whilst the dialog is open.

You may consider using the -h switch, i have pasted the relevant help file contents below.

-h make dialog work with active server connection


Link Copied to Clipboard