mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2005
Posts: 21
W
wouziap Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Feb 2005
Posts: 21
how to hide DCC Chat's window with nick which starts FSrv*? i tried
if (FSrv* iswm $nick) { window -h $chat($nick) }
but something is not OK...

my second question is how to close all DCC Chat's windows with nicks wich start FSrv*?

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
alias chat {
  var %x = $chat(0)
  while (%x) {
    if (FSrv* iswm $chat(%x)) { 
      close -c $chat(%x)
    }
    dec %x
  }
}


This will closemthe chats, not too sure about the hide one though. I tried /window -h and various other combinations. I'll keep working at it though.

Just type /chat to close matching Chats.

Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
Use /window -h =$nick or /window -h "Chat $nick $+ "

Also you can use /close -c Fsrv* rather than looping


Link Copied to Clipboard