To drop magazine use:
soldiername action ["drop magazine",soldiername,0,0,"m16"]
To drop weapon use:
soldiername action ["drop weapon",soldiername,0,0,"m16"]
Dont ask me what the 0's mean. :-\ Also It appears you have to be in the units group to pick up the weapon/magazine although i may be wrong.
8)PEACE