Adds a message to those listed in the frame. If the frame was already 'full' with messages, then the oldest message is discarded when the new one is added.

Signature:

MessageFrame:AddMessage("text" [, red [, green [, blue [, alpha]]]])

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)
  • alpha - Alpha (opacity) for the message (0.0 = fully transparent, 1.0 = fully opaque) (number)