WoW:API message: Difference between revisions

11 bytes removed ,  15 August 2023
m
Move page script moved page API message to WoW:API message without leaving a redirect
m (Move page script moved page API message to WoW:API message without leaving a redirect)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<center>'''message''' ''-Documentation by [[user:Darjk|Darjk]]-''</center>
{{framexmlfunc|FrameXML/BasicControls.xml}}
 
Displays a message box.
Displays a message box.
  message("text")
  message("text");
 
== Parameters ==
=== Arguments ===
:("text")
 
:;text : String - message to be displayed.
 
=== Returns ===
:;nil
 
== Example ==
message("This is an example.");


== Arguments ==
;text : String - message to be displayed.


==Details==
==Details==
: Pops up a message box displaying the argument with an "Okay" button inside a frame.
* 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 [[API ERRORMESSAGE|_ERRORMESSAGE]] function. It is a standalone function that bypasses the cvar "scriptErrors" entirely and always displays an error box.
: As of 1.10, message("text") no longer seems to work inside instances under certain conditions. The fix for this is currently unknown.
* As of 3.2 message() is broken / Depreciated as the message frame is no longer defined. Suitable alternative is {{api|print}}(...);
 
 
<br><center><i>Last updated: Patch 1.10</i></center>
 
----
{{WoW API}}
Anonymous user