| 1 | This command asks the agent to tell you the quantity of each IT_QUAGENTITEM it has in its inventory. |
| 2 | |
| 3 | '''Parameters:''' |
| 4 | * This command takes no parameters. |
| 5 | |
| 6 | '''Responds:''' |
| 7 | * TYPE Q |
| 8 | * where TYPE is the typename that would be returned by a [[wi]] on this entity. |
| 9 | * where Q is the quantity of this item. |
| 10 | |
| 11 | '''Reports:''' |
| 12 | * ''done'' when the task completes. |
| 13 | * ''popped'' if popped by [[po]]. |
| 14 | * ''forgotten'' if deleted by [[fa]] or [[fm]]. |
| 15 | * ''replaced'' if replaced by a command scheduled with 'r'. |
| 16 | |
| 17 | '''Example:''' |
| 18 | * User sends: "n ci 512" |
| 19 | * Bot replies "quagent_item_treasure 0" |
| 20 | * Bot replies "quagent_item_map 0" |
| 21 | * Bot replies "quagent_item_apple 0" |
| 22 | * Bot replies "quagent_item_money 0" |
| 23 | * Bot replies "quagent_item_food 0" |
| 24 | * Bot replies "cp ci 512 done" |