Implemented OnSendAction, OnSendMessage and OnSendNotice events