Thanx for the code but anyhow it seems like it won't work. Btw. your code would only work by active windows.
But what I'm looking for is a deactivation for all windows.
For example:
on *:join:#:{ logoff }
... will still let remain:
Session Start: Fri Jul 28 04:13:34 2006
[04:13:34] *** Now talking in #test
Session Close: Fri Jul 28 04:13:35 2006
I'm not sure, but maybe the same kinda code would work by /remove ... dunno
So, anyway ... thereby I rather thought about working with CMD. Even via CMD I could open or also delete a window. So I'm just wondering why it won't work by deleting all the files which are inside a window. Cuz the same command won't just delete windows, it could delete all the filetypes. So I guess, I just need an alias or a variable that could mark all the files in the log-directory. Via this I could easily let 'em remove - this could be a way I think?!