Code:
// Colors: ({Red} and {Blue} not working correctly)
// {Default},{Darkred},{Green},{Lightgreen},{Red},{Blue},{Olive},{Lime},
// {Lightred},{Purple},{Grey},{Orange},{Bluegrey},{Lightblue},{Darkblue},
// {Grey2},{Orchid},{Lightred2},{Teamcolor}
//
// Commands:
// {THETIME} - Shows current time, {MAPNAME} - Shows current mapname
//
// Settings:
// MsgCount - How many messages will be showed
// Delay - After how many seconds will be message showed (float)
// TimeForm - Time format (see http://www.cplusplus.com/reference/ctime/strftime/)
// MsgShowType - 1 = Random messages (1,2,4,1,3), 2 = Cycling messages (1,2,3,4)
//
// You can define in which language are messages showed
// It is based on players IP address and use Alpha-2 code
// Available country codes found at: http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes
// If you have issues with IP addresses try another version of GeoIP.dat
// Use parameter "default" if you don't want to use more languages
//
"Messages"
{
"Settings"
{
"MsgCount" "1"
"Delay" "2.0"
"MsgShowType" "1"
"TimeForm" "%Hh : %Mm & %Ss"
}
"1" // Message number (don't duplicate msg number)
{
"default" "{darkred}First {default}message" // For all others which are not defined
}
"2"
{
"default" "[xTreme-CM.ORG] Current time is {green}{THETIME}"
}
"3"
{
"default" "[xTreme-CM.ORG] {lime}You are now playing: {green}{MAPNAME}"
}
"4"
{
"default" "[xTreme-CM.ORG] {orange}Visit our website {green}www.xtreme-cm.org"
}
"5"
{
"default" "[xTreme-CM.ORG] {purple}Our Teamspeak3 Server {green}ts.xtreme-cm.org"
}
"6"
{
"default" "[xTreme-CM.ORG] {grey}Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
}
"7"
{
"default" "[xTreme-CM.ORG] {teamcolor} We need Moderators! Apply here {green}www.xtreme-cm.org"
}
"8"
{
"default" "[xTreme-CM.ORG] {teamcolor} Buy VIP write /vip or !vip"
}
}