Imo, this suggestion is nice, it could be really useful to stop window opening or closing.
At the end of the on close event, your window will be closed so you have to use timer in your code :

on *:CLOSE:@Warp: {
window -u @Warp
if ($input(Are you sure you want to quit?,wydv,Quit?) == $no) {
;here put an alias that re-open the window
;The problem is that you loose the window data
}
elseif ($hget(Warp)) { hfree Warp }
unset %w* %t* %star* %m* }
}

%variable can be /unset with only one command and unset %ticks after %t* is useless smile


#mircscripting @ irc.swiftirc.net == the best mIRC help channel