mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2004
Posts: 4
D
dustin Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Mar 2004
Posts: 4
Would be very useful...

Joined: Apr 2004
Posts: 9
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Apr 2004
Posts: 9
Yea probably....

But in the meantime you can always use $fline(..) to search for the macthing line number (helps if you have Timestamp as it will create "semi"-uniqe lines)

Note: Wildmatch with no wildcards equals exact match

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
As slartibartfast suggested, you can use something like $fline($active,$hotline). It isn't 100% accurate, because a specific line could occur twice in a window buffer, but it's close.

But I agree, I too would like a way of retrieving the line number as well as the position of the clicked word in the line.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Agreed.

While we're on the subject, I'd also like to see an identifier for on HOTLINK to give the index of the word clicked. Currently if a word appears twice on a line and is used as a hotlink it's impossible for a script to know which was clicked.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Mar 2004
Posts: 4
D
dustin Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Mar 2004
Posts: 4
Quote:
67. Added $hotlinepos, returns line and word position.


Wow, he DOES read these. Cool.


Link Copied to Clipboard