if SERVER then
	AddCSLuaFile()
else






local lennyadv = {}


--Config you configure stuff below


lennyadv.Time = 60 -- Set time between adverts (seconds)

lennyadv.Adverts = {	-- Set the advert texts to be displayed and don't forget to add an RGB color behind it!
	{"This server is running ULX Admin Mod by Team Ulysses -- ulyssesmod.net",	Color(151, 211, 255)},		-- can be as many as you want
	{"TEG is ran purely out of donations. By donating to us, you're ensuring that our server is running.",	Color(255, 0, 0)},		-- don't forget to put them in quotes
	{"If you have [TEG] in front of your name you will get double points for the Pointshop! Don't change your name while in the Server!",	Color(0, 0, 255)},		-- And don't forget to add the comma at the end of each line
	{"If you want to donate type '!donate'.", 	Color(255, 0, 0)},
	{"Visit our Forums: 'www.the-elitegaming.com'", 	Color(255, 0, 0)},		-- except for the last one
	{"By registering on our Forums you will be granted a 'Member' rank on our Server! Sign up!", 	Color(21, 255, 0)},
	{"Donate 10$ for permanent VIP,-25% on all items, reserved slot, VIP rank, Bonus XP, access to VIP items and VIP category in Pointshop!", 	Color(150, 137, 25)},
	{"Join our Steam group 'http://steamcommunity.com/groups/TheEliteGamingTEG'", 	Color(84, 255, 0)},
	{"Want to see what happened in the round? Press 'F8' while the round is inactive.", 	Color(255, 0, 0)},
	{"Make sure to add us to Favourites! Check out '!motd' for further instructions!", 	Color(255, 144, 0)},
	{"Join our new TeamSpeak Server ! IP : 63.251.20.215:9987", 	Color(0, 102, 0)},
	{"Type '!thirdperson' to see your sexy model in third person :D", 	Color(0, 200, 0)},
	{"Do you want to play another map? Do '!rtv' to start a votemap at the end of the round.", 	Color(30, 30, 150)}
--	{"xxxx", 	Color(0, 102, 0)},	

	
}

-- end of config

-- DON'T EDIT STUFF BELOW UNLESS YOU KNOW WHAT YOU ARE DOING!!!


local counter = 1


timer.Create("LennyAdverts", lennyadv.Time, 0, function()
	chat.AddText(lennyadv.Adverts[counter][2], lennyadv.Adverts[counter][1])
	counter = counter + 1
	if counter > #lennyadv.Adverts then
		counter = 1
	end
end)





end