Table of Contents

Back to Script Function Reference

Show_Message()

The Show_Message() function displays a message to the user and waits until the user clicks an 'OK' button before continuing.

Syntax

Show_Message(message)

Arguments

Argument Required Description
message Yes The message you want to display. There is one preset message, which you can display by setting message to the string literal GAME_NOT_SUPPORTED. Any script environment variables found in message will be replaced by their actual values when the script is executed.


Examples

Show_Message(You have to load this game manually: %gamefile%)

Show_Message(GAME_NOT_SUPPORTED)

Remarks

The Show_Message function can be used to help you bug-test your own custom scripts. You can use the %commandline% environment variable to see the contents of the emulator's command line at any one time.

See Also