You can put it in a while loop if you want just make sure the loop is in a function like in this case in the main function

Code:

#include <acknex.h>;  
#include <default.c>;


//////////////////////////////declared function/////////////////////////////////////////////////////////////
function one();


function main()
{
 //This section happens once when the function is run initially
 level_load("");
 wait(3);  //Wait required for level load
 
 while(1)
 { 
  //This section happens every frame due to a while loop.
       
     
    
    one();

      wait(1);

}                                
 
 }


/////////// function////////////////////////////////////////////////////////////////////////////////
 function one()
 {
 	
  
 	
 	sys_exit("bye bye...");
 	
 	
 	
 	
}


See? Need it in a function or its just sitting there doing nothing.


"You may never know what results come of your action, but if you do nothing there will be no result."
-Mahatma Gandhi