hi,
can i choose where the inventories that my character picked will be placed in the inventory box?
Yes, the command has a second parameter that lets you specify where it will be positioned. It's described in the manual.
cEgo.AddInventory (iKey, 1);