The PlusWnd::Close function destroys the window.
Syntax
code:
Close(
[number] ExitCode
);
Parameters
ExitCode
[number] A number specifying the exit code for the window. It has no particular meaning for Messenger Plus! and can be anything the script's developer wishes it to be.