
main()
{
	// mod information under healthbar
	if(isdefined(level.ex_modinfo)) level.ex_modinfo destroy();

	level.ex_modinfo = newHudElem();	
	level.ex_modinfo.x = 630;
	level.ex_modinfo.y = 474;
	level.ex_modinfo.alignX = "right";
	level.ex_modinfo.alignY = "middle";
	level.ex_modinfo.alpha = 0;
	level.ex_modinfo.fontScale = 0.8;

	ex_modtxt[0] = &"MOD_MESSAGE_NAME";
	ex_modtxt[1] = &"MOD_MESSAGE_BY";
	ex_modtxt[2] = &"MOD_MESSAGE_WEBSITE";

	for(;;)
	{
		if(level.ex_clantext && !isdefined(level.ex_clantxt))
		{
			level.ex_modinfo setText(level.ex_clanlotxt);
			level.ex_modinfo fadeOverTime(1);
			level.ex_modinfo.alpha = 1;
			wait 60;
			level.ex_modinfo fadeOverTime(1);
			level.ex_modinfo.alpha = 0;
			wait 1;
		}
			
		for(mi=0;mi<3;mi++)
		{
			level.ex_modinfo setText(ex_modtxt[mi]);
			level.ex_modinfo fadeOverTime(1);
			level.ex_modinfo.alpha = 1;
			
			if(mi == 0) wait 10;
			else wait 5;
			
			level.ex_modinfo fadeOverTime(1);
			level.ex_modinfo.alpha = 0;
			wait 1;
		}
	}
}
