Thanks for the On Disconnect info, implementing it now. I needed to 'steer' the messages about that event to the relevant status window when multi-networking/servering.
I have read the wikichip page for on topic, and the subsequent linked page 'Local Identifiers (https://en.wikichip.org/wiki/mirc/local_identifiers
) which suggests that $nick should identify who triggered the event, but it just failed with an error.
I just retried it to quote the error and it worked. I must have made a mistake on my previous test.
Thanks .. That gets me ever onward