WoW API: message

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API message to API message without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < message

"I" iconThis function is implemented in Lua here FrameXML/BasicControls.xml.

Displays a message box.

message("text")

Arguments

text
String - message to be displayed.

Details

  • Pops up a message box displaying the argument with an "Okay" button inside a frame.
  • As of 3.1, message() is no longer an alias of the _ERRORMESSAGE function. It is a standalone function that bypasses the cvar "scriptErrors" entirely and always displays an error box.
  • As of 3.2 message() is broken / Depreciated as the message frame is no longer defined. Suitable alternative is print(...);