I find the behavior of the on open command weird. It only triggers when someone queries me and not when I open a query window. The on close event triggers whether someone queried me or I opened the window myself. I feel the on open should trigger when I open a query with someone.

on *:open:?:*:echo -s Just opened $target query window
on *:close:?: echo -s closed $target query window

(Yes I did post this in another section. I just wanted opinions and no one argued that it should work this way, so here we are.)


http://scripting.pball.win
My personal site with some scripts I've released.