|
|
Joined: Jul 2006
Posts: 4,020
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,020 |
$line doesn't work with a dcc chat window if the connection hasn't been made successfully.
It's probably not something related to $line, rather to how dcc (chat?) windows are handled in general but I noticed it with $line..
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Oct 2003
Posts: 3,641
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,641 |
Can you show code that reproduces this? Because I can't.
|
|
|
|
Joined: Jul 2006
Posts: 4,020
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,020 |
Well just make sure the connection isn't made. For me typing //dcc chat $me is sufficient but just try that on a bot or something and try getting $line to work for that window
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Oct 2003
Posts: 3,641
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,641 |
Right, I did that, and cannot reproduce. Please list exactly what you are doing in proper steps.
|
|
|
|
Wiz126
|
Wiz126
|
Confirmed (7.22).
$line(=Foo,0) returns $null if the connection was ignored/canceld/waiting.
Otherwise it returns the correct number of lines.
Last edited by Wiz126; 04/02/12 11:02 PM.
|
|
|
|
Joined: Jul 2006
Posts: 4,020
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,020 |
The only step is typing //dcc chat $me for me cause it is sufficient to make the connection not successfull, but I just tried with Wiz, same results, I'm not sure about how you are testing this.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Apr 2010
Posts: 964
Hoopy frood
|
Hoopy frood
Joined: Apr 2010
Posts: 964 |
Confirmed. 7.22
To reproduce: 1: Enter the following: //dcc chat $me 2: Ignore chat 4: Make DCC Chat window active 5: Enter the following: //echo -a $line($active,1)
Last edited by FroggieDaFrog; 05/02/12 01:46 AM.
|
|
|
|
Joined: Oct 2003
Posts: 3,641
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,641 |
I was able to reproduce this, thanks.
|
|
|
|
Joined: Dec 2002
Posts: 3,841
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,841 |
Thanks this issue has been fixed for the next version.
|
|
|
|
|
|