mIRC Homepage
Posted By: wouziap window -h | close -c [need help] - 22/04/05 06:01 PM
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*?
Posted By: SladeKraven Re: window -h | close -c [need help] - 22/04/05 06:30 PM
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.
Posted By: Sigh Re: window -h | close -c [need help] - 23/04/05 01:51 AM
Use /window -h =$nick or /window -h "Chat $nick $+ "

Also you can use /close -c Fsrv* rather than looping
© mIRC Discussion Forums