Adds a message to those listed in the frame
Signature:
ScrollingMessageFrame:AddMessage("text" [, red [, green [, blue [, lineID [, addToTop [, accessID [, extraData]]]]]]])
Arguments:
text- Text of the message (string)red- Red component of the text color for the message (0.0 - 1.0) (number)green- Green component of the text color for the message (0.0 - 1.0) (number)blue- Blue component of the text color for the message (0.0 - 1.0) (number)lineID- Used in the chat frame to uniquely identify the chat message. Could probably be used to store information. Can be retrieved using:GetMessageInfo(). (number)addToTop- True to insert the message above all others listed in the frame, even if the frame's insert mode is set toBOTTOM; false to insert according to the frame's insert mode (boolean)accessID- Identifier for the message's type (see:UpdateColorByID()) (number)extraData- Extra data to save in the message history. Can be retrieved with:GetMessageInfo(). (number)