NOVA|lam bindCommand(keyboard0, make, "numpad+", TO, "drop(\"Repair Kit\");");
bindCommand(keyboard0, make, "numpadenter", TO, "drop(\"mine\");");
function kModule::Drop(%mines, %rep)
{
if (%mines)
for(%i=0;%i<3;%i++) {drop("mine");}
if (%rep)
drop("repair kit");
}
editActionMap("playMap.sae");
bindCommand(keyboard0, make, control, $Key::Dump, TO, "Dump();");
bindCommand(keyboard0, break, control, $Key::Dump, TO, "");
//dropallammo
$Key::Dump = "g";
function Dump() {
remoteEval(2048, lmsg, death);
for(%cnt = 1; %cnt <= 20; %cnt++){
Drop("Repair Kit");
Drop("Mortar Ammo");
Drop("Mine");
Drop("Grenade Ammo"); } }