mIRC Home    About    Download    Register    News    Help

Print Thread
#204793 01/10/08 03:15 PM
Joined: Feb 2007
Posts: 9
H
he3f Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
H
Joined: Feb 2007
Posts: 9
hey i have a problem whit "/window -a" to a dcc chat

the thing is, if you have two dcc chat rooms whit the same person you or at lest i cant just to some thing like "//window -a $+ = $chat(2)" to get the 2. room whit the person active. that code will simpel just take the first ($chan(1)) room...

tell me if you dont see what the problem is, and i will try to make it more clear..

edit:
and what about send/get? if the same nick send the same file two times, you cant like do
//window -a "Send $send(1) $send(1).file $+ "
//window -a "Send $send(2) $send(2).file $+ "
becuase that will also just take the first dcc..


//He3F

Last edited by he3f; 01/10/08 03:21 PM.
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
You can use the window ID to get around this problem. This also works for $send and any other type of window.

Code:
window -a @ $+ $chat(2).wid


The '@' is necessary to tell the command you're giving it a window ID.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2007
Posts: 9
H
he3f Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
H
Joined: Feb 2007
Posts: 9
thank you so much smile


Link Copied to Clipboard