API:SendSystemMsg

__NOTOC__
SendSystemMsg
SendSystemMsg(text)
Display a standard system message and play a sound within the game client. The message will automatically fade away.
The definition can be found within the module fdb\interface\worldxml\uiparent.lua.
function SendSystemMsg( text )
	PlaySoundByPath("sound\\interface\\ui_sysmsg_normal.mp3");
	SystemMsgFrame:AddMessage(text, 1, 0.95, 0.40 );
end
== Parameters ==
=== Arguments ===
:;text
::string - The system message to display.
=== Returns ===
:;nil
::void - A method call without return value.
== Example ==
local osdate = os.date();
SendSystemMsg("SendSystemMsg: os.date() returns "..osdate);
== Notes ==
The text will be displayed e.g. like when taking a screenshot.
== Related Functions ==
* SendWarningMsg
* SendSystemChat
* PlaySoundByPath
Updated --Georhan, Bushido Guild - Isiltir 16:27, 3 May 2010 (UTC) 
Original --Choppa 06:53, 5 August 2009 (UTC)
Sends a system message, the same type of chat is displayed when you accept a quest.
/sript SendSystemMsg("Hello world!");
Will display Hello world! in yellow on your screen, orange in Chat Box, and play a sound.