Lololol If you want to use this in a scroll menu Create a SQF, Name it what ever and then when you're in your menu type this in player addAction [{"Executer", execVM "sqfname.sqf";}];
I think I got the brackets messed up but you should get the point..