I am not good or should I say I
stink at scripting.
I just go to the Editors Depot and use OFP script editor by Chris Henderson. He also has one exactly like it for Arma.
Using this for crates will call a script load out from ammo box, its done.
Now, you just got to worry about if your crates are put/called to the right area.
Hopefully this helps