FANDOM


SendSystemChat(text)

Display a standard system chat message. The definition can be found within the module fdb\interface\worldxml\uiparent.lua.

function SendSystemChat( text )
	
	local info = ChatTypeInfo[type];

	if( into ~= nil ) then
		--this:AddMessage( text, info.r, info.g, info.b);
	end
	
	local info = ChatTypeInfo["SYSTEM"];
	DEFAULT_CHAT_FRAME:AddMessage(text, info.r, info.g, info.b );


end

Parameters Edit

Arguments Edit

text
string - The system chat message to display.

Returns Edit

nil
void - A method call without return value.

Example Edit

local osdate = os.date();
SendSystemChat("SendSystemChat: os.date() returns "..osdate);

Notes Edit

File:SendSystemChat.png

The text will be displayed e.g. like when doing an emote.

Related Functions Edit

Updated --Georhan, Bushido Guild - Isiltir 16:38, 3 May 2010 (UTC)
Original
Similar to SendSystemMsg, SendSystemChat("string") simply posts to chat frame and lacks the center screen text display and the associated sound.

Example

/script SendSystemChat("example text")
Simply posts orange text in chat frame -->  example text

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.