I have been trying to do this all day. I want to get an amount of paper from a slot in player's current inventory (slot 5). Here is an example:
Code:
set {_g} to item from slot 5 of player's current inventory
or:
set {_g} to amount of items in slot 5 o player's current inventory