this is a open code that will close an open window unless its by another op or yourself

Code:
  

ON *:OPEN:*:*: { 
  if (($nick isop $comchan($nick,1)) || ($me == $nick)) { halt }
  else {
    closemsg $nick 
  }
}

Now there is a simpler mirc command that will do the same thing by typing
/ignore -p *!*@*




Intelligence: It's better to ask a stupid question, then to prove it by not asking....