I made one of my friends dcc chat and leave, and it works fine, but when I do it to myself, or some OTHERS try it, it fails. Its random, or it only occurs with some users.
On close is speaking of, well, when the window closes, this happens. Doesn't the /close do this by closing a window, and therefore, should activate the on close event.