Start a new topic

Script engine: custom end-message

Right now, I can only return true (success) and false (fail), which will show pre-defined messages to the user.

It would be great, if I could return a string to show a custom message.

I know, that I can show messages right now, but there is still an unnecessary success-/fail-message afterwards.

1 Comment

This will be implemented as an mandatory parameter you can set via host.ReturnMessage.

Each script must still return a bool to indicate wheter it executed OK or not.

The custom message will be shown no matter if true or false is returned so you can customize it for error-messages as well as ok-messages.

Login or Signup to post a comment