I'm afraid the answer will be blamed on windows, but here goes. Using XP home, i've seen this in both 6.16 and 6.21.

The lines you see highlighted in a listbox window are not always the same thing as the lines the mIRC believes are selected.

First, create a dummy list window with dummy text:

//window -c @test | /window -l @test | /filter -fwc versions.txt @test *

Now, create a timer that slowly deletes the 1st selected line:

/timertest 200 3 echo -a *** total selected $sline(@test,0) - first selected $sline(@test,1).ln - last selected $sline(@test,$sline(@test,0)).ln | dline @test $sline(@test,1).ln

Now, while the timer is slowly deleting lines, use the left mouse button to slowly drag-highlight several lines, then hold the mouse still but don't let go. It changes from having several selected lines, to none selected. Then, let go of the mouse, and even though you only have a range of 10 or so lines highlighted, the message shows you that actually every single line is selected.

There's similar going on when using rline instead of dline:

/timertest 200 3 echo -a *** total selected $sline(@test,0) - first selected $sline(@test,1).ln - last selected $sline(@test,$sline(@test,0)).ln | rline @test $sline(@test,1).ln $r(1,99999999)

This appears to be the cause of something I thought was a script bug, where occasionally a window was behaving as if $sline(@window,1) was line#1, even though I was clicking on a line much further down, and had never clicked anywhere close to line#1.