QUOTE (RzrBladeMontage @ Jun 4 2011, 11:02 PM)

What RPG Maker are you using? If you're using XP, it's pretty simple. In your event go to the first page of your event commands, and click on "Control Variables," then under "Variable" find the one you're trying to set to the item amount, and under "operation" click "set" and under "Operand" click the dot next to "item" and in the drop down box click on what item you want to set the variable to.
Simple as that!
How do you do it in VX?