mIRC Homepage
I want to have the window close 10 seconds after the first message. I don't really care if they message again 11 seconds later and reopen it.

Here is what I have so far, but the if statement doesn't seem to be working
Code:
on *:TEXT:*:?:{
  if (%closer- $+ $nick !== 1) {
    /timer 1 10 /window -c $nick
    set -u10 %closer- $+ $nick 1
  }
}
try /close -m $nick
instead of the window bit
Code:
on *:TEXT:*:?:{  
   if (%closer- [ $+ [ $nick ] ]  != 1) {  
      /timer 1 10 /window -c $nick    
      set -u10 %closer- $+ $nick 1  
   }
}


Try that.
Ah yes, thank you codemastr, that worked like a charm.

One other question, how do I prevent mIRC from displaying
Code:
- Timer 1 Activated
- Timer 1 Halted
Use .timer
/.timer 1 10... etc
© mIRC Discussion Forums