Okay since then I have changed it a little bit, here is the new code:

Code:
function main()
{
	//video_screen = 1; //fullscreen
   
   video_mode = 7; //activate 800x600 screen resolution
	sound_vol = 100; //set the sound at full volume
	level_load("level.hmp"); //before we can create level entities, a level must be loaded
	set (pIntro, VISIBLE); //black canvas
	wait(-1); //wait a second
	ent_create("character.mdl",vector(25,55,45),main_player); //create the player
	var mhandle = media_play("intro.avi",NULL,100);
	wait(-11.3);
	var mvertical = media_loop("vertical_leap.avi",NULL,100);
	pan_remove(pIntro);
}



so basically a movie plays that says like created by and such then a movie of clouds and the game name loops with a flashing "press enter" so I am guessing in the main.c above function main I write:

Code:
function movie_control()
{
while (key_i)
{
media_stop(mhandle);
}
}


sorry for the stupid questions I am just starting to pick things up.