WoW:API message: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{framexmlfunc|FrameXML/BasicControls.xml}} __NOTOC__)
Line 1: Line 1:
  <center>'''message''' ''-Documentation by [[user:Darjk|Darjk]]-''</center>
{{framexmlfunc|FrameXML/BasicControls.xml}} __NOTOC__
 
 
  message("text");


Displays a message box.
Displays a message box.
 
message("text");


== Parameters ==
== Parameters ==
Line 13: Line 15:
=== Returns ===
=== Returns ===
:;nil
:;nil


== Example ==
== Example ==
Line 21: Line 24:
: 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 1.10, message("text") no longer seems to work inside instances under certain conditions.  The fix for this is currently unknown.
: (?) As of 1.10, message("text") no longer seems to work inside instances under certain conditions.  The fix for this is currently unknown.  
 
 
<br><center><i>Last updated: Patch 1.10</i></center>


----
: This is just an alias of the [[API ERRORMESSAGE|_ERRORMESSAGE]] function.
{{WoW API}}

Revision as of 15:13, 5 September 2006

WoW API < message

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


message("text");

Displays a message box.


Parameters

Arguments

("text")
text
String - message to be displayed.

Returns

nil


Example

message("This is an example.");


Details

Pops up a message box displaying the argument with an "Okay" button inside a frame.
(?) As of 1.10, message("text") no longer seems to work inside instances under certain conditions. The fix for this is currently unknown.
This is just an alias of the _ERRORMESSAGE function.