mIRC Home    About    Download    Register    News    Help

Print Thread
Highlight custom window. #240560 14/02/13 10:12 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I made a custom window, and i using g1 when i create the window (Highlight with color for message, red in my case). But when i send a new line to the window it will not highlight it again, dont remeber that i needed to do anything else then aline a new line to the windows befor, do i miss somthing here?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Highlight custom window. [Re: sparta] #240561 14/02/13 10:33 AM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Are you sure it used to work with /aline, because as far as I know it only works for /echo -l

Re: Highlight custom window. [Re: 5618] #240562 14/02/13 10:43 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I dont remember, but trying to use aline instead of echo in all my @windows, so dont remember, but can i highlight the window in any other way then create a new one and aline all messages back again? Was a long time ago i used @windows so forgot the most things about them.

;----- Edit
Code:
alias example {
  if (!$window(@window)) { window -n2k0 @window 637 300 603 322 Verdana 11 }
  aline @window Just a example if somone else have the same problem
  window -g1 @window
}

Solved the highlight problem, just needed to add window -g1 @window, This will highlight it again when a new line is entered to it, now i just need to solve the "flash" part. smile

Last edited by sparta; 14/02/13 11:47 AM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Highlight custom window. [Re: sparta] #240646 19/02/13 08:10 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You can use /aline -h to highlight each time something is added to the window smile