mIRC Homepage
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?
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
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!
© mIRC Discussion Forums