mIRC Home    About    Download    Register    News    Help

Print Thread
#173381 24/03/07 07:50 PM
Joined: Jan 2004
Posts: 162
R
RRX Offline OP
Vogon poet
OP Offline
Vogon poet
R
Joined: Jan 2004
Posts: 162
$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?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
/close -s# rather than /close -s should take care of your problem. The # is the number of the send.


Invision Support
#Invision on irc.irchighway.net
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
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


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard