lastElement <- 0;
myArray <- [
	 RED + "Dont Forget to Add this server in your Favorites Tab",
	PURPLE +  "Use /help if you are a newbie in this Server",
	"[#bae3ff]Check [#12d449]/cmds[#bae3ff]for a full list of commands that you can use.",
	PINK + "Try out the Shamal and Hydra Plane by using /gotoloc hydra or /gotoloc shamal",
	"[#bae3ff]You can  [#ff6c00]Goto any location using /gotoloc <name>",
	"Dont Forget to visit our Forums vcw-vcmp.boards.net",
	"[#bae3ff]Click The Ctrl/LMB to [#ff6c00]Spawn.",
	"[#bae3ff]Dont use hacks as it can lead to ban",
	"[#bae3ff]Wanna be a Member of the Staff,Post an application on our Forums " + FORUM,
];

function Messages()
{
    local currentString = myArray[lastElement];
    lastElement++;

    if( lastElement > ( myArray.len() - 1 ) ) // array.len() - 1 would be the last index
        lastElement = 0; // reset to 0
	
	Message( currentString );
}

NewTimer( "Messages", 15000, 0 );
