Hi I am trying to make windows to display notices from the network's services, and this is what i got:
on *:NOTICE:*:?:{
if ($nick == NickServ) {
window -e @Nickserv
aline @nickserv $1-
}
if ($nick == ChanServ) {
window -e @Chanserv
aline @Chanserv $1-
}
if ($nick == MemoServ) {
window -e @Memoserv
aline @Memoserv $1-
}
}
This works good to open the windows and shoot the text to the window, but how do i preserve the formatting. For example:
From The Server:
[11:19:48] -NickServ- Nick1 Nick1@215.216.i.bwrd.com
[11:19:48] -NickServ- Nickss Nickss@195.214.i.bwrd.com
[11:19:48] -NickServ- TNick TNick@143.285.i.bwrd.com
[11:19:48] -NickServ- xtranick xtranick@210.159.i.bwrd.com
But this is displayed in the @Nickserv window:
Nickss Nickss@195.214.i.bwrd.com
TNick TNick@143.285.i.bwrd.com
xtranick xtranick@210.159.i.bwrd.com
Nick1 Nick1@215.216.i.bwrd.com
And i WANT it to be like this:
Nickss Nickss@195.214.i.bwrd.com
TNick TNick@143.285.i.bwrd.com
xtranick xtranick@210.159.i.bwrd.com
Nick1 Nick1@215.216.i.bwrd.com
any one know how i can keep the formatting that the server sends?
thanks