Don't send separate messages to announce these events, have mw display them on receipt of onoff events, if scripted handlers allow it to.