i have a treeview switchbar that refreshes when a dcc chat is closed. the code is:
on *:close:=:{ .timer -m 1 1 load.switchbar }
that works fine if i close it, but if the user on the other end of the chat disconnects first, it causes problems. it will still let me enter the window (when the user has disconnected), but when i close the window myself, the 'on close' event does not trigger (since it already did when the other end closed the connection).
also, i'm having a problem with dcc get/send closing. there's no events to trigger when they are closed. i tried on *:close:*:{, but even that didn't work.
anyone have any ideas on how i can fix either/both of these? thanks in advance.