mIRC Homepage
Posted By: RRX close a send using wid - 24/03/07 07:50 PM
$send(0) returns total amount sends, there is no connection separation like with $chan(0).
Example situation:

I'm on two networks, same nicks.
I a file to myself on network 1 and another file to myself on network 2.
I have an alias that returns the Nth number of the send for a given wid (window id).
Then, if I do /close -s $send(thatNthnumberhere) it closes both sends instead of just the Nth one, because that $send(number) returns a nick.

I need a way to abort only the send with the given $send().wid property, not affecting any other sends to same nicks.

Why doesnt $send() behave like $chan() and only shows the windows/sends with the current cid value?
Posted By: Riamus2 Re: close a send using wid - 24/03/07 08:08 PM
/close -s# rather than /close -s should take care of your problem. The # is the number of the send.
Posted By: qwerty Re: close a send using wid - 25/03/07 11:24 AM
DCC send/chat sessions are not related to or rely on an IRC network, so they are not treated as belonging to a specific connection.

To close a window of a specific CID, use /window -c @cidhere
© mIRC Discussion Forums