Show HitPotSetup.lua syntax highlighted
-- import the mission script
dofile ( "data/scripts/mission_check.lua" );
-- possible missions to distribute
newmissions = { "data/scripts/test_mission/m_hitPot" };
-- test which dialog to play
GiveMission( newmissions );
console.Exec( "echo Giving Player this mission: " .. newmissions[1] );
See more files for this project here