WoW:API SendSystemMessage: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(remove unnecessary sig; good job otherwise)
No edit summary
Line 2: Line 2:
Sends a system message to the system message box (mostly written in yellow color)
Sends a system message to the system message box (mostly written in yellow color)


  /script SendChatMessage("msg" ,"chatType" ,"language" ,"channel");
  /script SendSystemMessage("msg");


== Parameters ==
== Parameters ==

Revision as of 14:41, 20 January 2012

WoW API < SendSystemMessage

Sends a system message to the system message box (mostly written in yellow color)

/script SendSystemMessage("msg");

Parameters

Arguments

(msg)
msg
String, The message to be sent


Example

/script SendSystemMessage("MyAddOn just loaded");


Just like print it will only be seen from the current user.

The WOW-Client uses SendSystemMessage to inform you, for example, that someome bought something from you in the auction house.