API message

From Wowpedia
Jump to: navigation, search
"I" iconThis function is implemented by FrameXML in 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.