No problem.

You could consider using the on OPEN event instead, and after echoing the info, just putting "halt", so that close -m $nick is obsolete, and the window is never visibly open.

Greets


Gone.