|
|
Joined: Jul 2006
Posts: 4,180
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,180 |
$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,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
Can you show code that reproduces this? Because I can't.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Jul 2006
Posts: 4,180
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,180 |
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,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
Right, I did that, and cannot reproduce. Please list exactly what you are doing in proper steps.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Mar 2010
Posts: 57
Babel fish
|
Babel fish
Joined: Mar 2010
Posts: 57 |
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,180
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,180 |
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: 969
Hoopy frood
|
Hoopy frood
Joined: Apr 2010
Posts: 969 |
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,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
I was able to reproduce this, thanks.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Dec 2002
Posts: 5,477
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 5,477 |
Thanks this issue has been fixed for the next version.
|
|
|
|
|
|