Here is the collection of events generated by Messenger Plus!.
| Name | Description |
|---|---|
| OnEvent_Initialize | The script is starting. |
| OnEvent_Uninitialize | The script is ending. |
| OnEvent_MessengerLocked | The Messenger Lock feature of Messenger Plus! has been enabled. |
| OnEvent_MessengerUnlocked | The Messenger Lock feature of Messenger Plus! has been disabled. |
| OnEvent_Timer | A timer created with MsgPlus::AddTimer reached its specified time. |
| OnGetScriptMenu | A Messenger Plus! menu is being displayed. |
| OnEvent_MenuClicked | An item of a script menu has been selected by the current user. |
| OnGetScriptCommands | Messenger Plus! needs to display a list of commands supported by the script. |
| EnterPersonalizedStatus | The current user changes its status to a Messenger Plus! personalized status. |
| LeavePersonalizedStatus | The current user's status is changed back to a normal, non personalized status. |
| OnEvent_DownloadFileComplete | A download operation initiated by MsgPlus::DownloadFile has completed. |
| OnEvent_UploadFileComplete | An upload operation initiated by MsgPlus::UploadFileFTP has completed. |
| Name | Description |
|---|---|
| ScriptsCommandTemplate | Shows how to define an event handler for the "/script" command. |
| ToastCallbackTemplate | Shows how to define an event handler for a "click" event happening in a toast. |