mIRC Home    About    Download    Register    News    Help

Print Thread
#115111 22/03/05 07:26 AM
Joined: Mar 2004
Posts: 540
A
Armada Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
I have a few things being added to a listbox @window, was just curious if its possible to make the window scroll as things are added like in a chat window

#115112 22/03/05 08:16 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Depending on how you're adding them, and on how many lines, perhaps
  • sline @win $line(@win,0)
    sline -r @win

#115113 22/03/05 08:18 AM
Joined: Mar 2004
Posts: 540
A
Armada Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
aline -p @SClients $timestamp $1- is what Im using, ill see what your stuff does
---
That works, but Im trying to avoid selecting, b/c Nasty things will happend to selected lines

Last edited by Armada; 22/03/05 08:20 AM.
#115114 22/03/05 08:25 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
That'sactually two lines, one selects, the next deselects. :[/b])

#115115 22/03/05 08:36 AM
Joined: Mar 2004
Posts: 540
A
Armada Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
oooo lol
but this could still be a problem Hmmm

#115116 22/03/05 09:41 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
//aline @win DumptyDoo | sline -a @win $line(@win,0) | dline @win $line(@win,0)

I assume the window isnt sorted here.

If it is make DumptyDoo the highest possable value $str(20,$chr(255)) or lowest possable value ($chr(1)) (based on what direction you sorted)

#115117 23/03/05 03:09 PM
Joined: Mar 2004
Posts: 540
A
Armada Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
again sline is being used, I have to avoid that, or else itll be a bad thing wihen I right click and click my option

#115118 23/03/05 08:22 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
There is no extra line selected at the end of those 3 statements. Its (1) make a extra line at the bottom, select it (causing the bar to scroll to it), delete it

If this does leave some type of residue effect im not aware of, can you please explain it or how it might effect your command.


Link Copied to Clipboard