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)