Sets the maximum number of messages to be kept in the frame. If additional messages are added beyond this number, the oldest lines are discarded and can no longer be seen by scrolling.

Signature:

ScrollingMessageFrame:SetMaxLines(maxLines)

Arguments:

  • maxLines - Maximum number of messages to be kept in the frame (number)