O hope someone can fix it
cause I'm newbie
Code:
 

on *:open:?: { var %i 5 
 while ($query(0) > %i ) 
 ignore -pu500 $address($nick,2) 
 close -m 
 inc %i 
} 
} 
 
 


I want that if there be more then 5 query windows opened
all the querys that will be pened after that
will be closed and ignore