There are several ways of doing this, the easiest that I can think of is to use the system already in the default UI. This uses the existing function
RaidNotice_AddMessage(frame,message,colorTable[,duration]).
Code:
RaidNotice_AddMessage(RaidWarningFrame,"Some message here",ChatTypeInfo["RAID_WARNING"]);