//Custom Scroll menu By Josho
pathtosayactions = "csm\Actions\";
pathtotoggle = "csm\Debug\";
pathtomisc = "csm\Misc\";
EXECscript1 = 'player execVM "'+pathtosayactions+'%1"';
EXECscript2 = 'player execVM "'+pathtotoggle+'%1"';
EXECscript3 = 'player execVM "'+pathtomisc+'%1"';
csm_josh0 =
[
["",true],
["Player Actions", [2], "#USER:actionsmenu", -5, [["expression", ""]], "1", "1"],
["Toggle Actions", [3], "#USER:toggle", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
actionsmenu =
[
["",true],
["Inject Morphine", [3], "", -5, [["expression", format[EXECscript3,"morphine.sqf"]]], "1", "1"],
["Apply Bandage", [3], "", -5, [["expression", format[EXECscript3,"bandage.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
toggle =
[
["",true],
["Show Debug Monitor", [3], "", -5, [["expression", format[EXECscript3,"custom_monitor.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Hide Debug Monitor", [13], "", -3, [["expression", ""]], "1", "1"]
];
showCommandingMenu "#USER:csm_josh0";