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

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

	wwx_modtxt[0] = &"CUSTOM_MESSAGE_NAME";
	wwx_modtxt[1] = &"CUSTOM_MESSAGE_BY";
	wwx_modtxt[2] = &"CUSTOM_MESSAGE_WEBSITE";

	for(;;)
	{
		if(level.wwx_clantext && !isdefined(level.wwx_clantxt))
		{
			level.wwx_modinfo setText(level.wwx_clanlotxt);
			level.wwx_modinfo fadeOverTime(1);
			level.wwx_modinfo.alpha = 1;
			wait 60;
			level.wwx_modinfo fadeOverTime(1);
			level.wwx_modinfo.alpha = 0;
			wait 1;
		}
			
		for(mi=0;mi<3;mi++)
		{
			level.wwx_modinfo setText(wwx_modtxt[mi]);
			level.wwx_modinfo fadeOverTime(1);
			level.wwx_modinfo.alpha = 1;
			
			if(mi == 0) wait 10;
			else wait 5;
			
			level.wwx_modinfo fadeOverTime(1);
			level.wwx_modinfo.alpha = 0;
			wait 1;
		}
	}
}
