mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
How can I make a line insert at the top and wrapped?
$1 is the paramter pass down from on *:TEXT:*:?:{ }
Assuming that $1 is too long using the -p switch will wrap to the next line.
window @Msg.Spam Trebuchet MS 13
aline -p @Spam 3 $timestamp $+ < $+ $nick $+ > $1-

However the aline always insert from the bottom of @spam window. If I use window -l @Msg.Spam Trebuchet MS 13, it will insert from the top, but the wrapped effect gone! Any help?

Joined: Dec 2002
Posts: 204
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
You might wanna check out /help /iline, that will insert a line where ever you want. so something like:

Code:
...
window @Msg.Spam Trebuchet MS 13
[color:red]iline[/color] -p @Msg.Spam [color:red]1[/color] 3 $timestamp $+ &lt; $+ $nick $+ &gt; $1- 
...

would add the line to line 1 of @Msg.spam


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.
Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
The problem is using a -l switch for window ,
that is -> window -l @spam will not make the line wrap anymore. W/o using -l, line insert always begin at bottom of window, whether using aline or iline!


Link Copied to Clipboard