I tried making a mass-drop command... You can understand it better by reading the code.. but it works like this:
$md [item id] [item amount] [span]
If you type in 5 for the span it should make a quare of 5 x 5 of those items.. It also updates the character x and y so that you shouldn't get the out of reach error (I think?) But instead it always drops right under me.. I'm really confused..
Source: