mIRC Home    About    Download    Register    News    Help

Print Thread
#11091 14/02/03 08:16 PM
Joined: Feb 2003
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Feb 2003
Posts: 19
hi,
i created a window, then i want to insert a line on that window... but on the top! /aline goes to the bottom aswel /echo @window... /iline can't see how can that work here because the $line(@window,0) only counts the lines which have been written from the bottom... What can i do?
Thanks in advance confused


trace me
#11092 14/02/03 11:35 PM
Joined: Dec 2002
Posts: 68
P
Babel fish
Offline
Babel fish
P
Joined: Dec 2002
Posts: 68
Try:

/iline @window 1 <text>

#11093 14/02/03 11:48 PM
Joined: Feb 2003
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Feb 2003
Posts: 19
just as i said... nothing... goes to the bottom frown


trace me
#11094 15/02/03 01:09 AM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
did you try
/iline -i @window 1 text
that shpuld do what your asking hope it helps

#11095 15/02/03 01:51 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Perhaps it would help if you posted the section of your script that you are having problems with.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#11096 16/02/03 06:25 PM
Joined: Feb 2003
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Feb 2003
Posts: 19
yes it would... but i don't have it.. let's try this
alias test { window @test }
now i want to insert text on the first line ( on the top ) of the window... hope it helped


trace me
#11097 16/02/03 06:27 PM
Joined: Feb 2003
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Feb 2003
Posts: 19
it goes to the bottom... frown
thanks anyway


trace me
#11098 17/02/03 05:41 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
I think the only way to add to the top of the window when it first opens is to make the window a list window with:

/window -l @Windowname
/aline @Windowname Text on line 1
/aline @Windowname Text on line 2


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#11099 17/02/03 10:49 AM
Joined: Feb 2003
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Feb 2003
Posts: 19
thanks, it worked now 8]... Maybe this would be a good feature suggestion... Anyway, thanks to you all


trace me

Link Copied to Clipboard