wiki:ci

Version 1 (modified by xwang, 13 years ago) (diff)

--

This command asks the agent to tell you the quantity of each IT_QUAGENTITEM it has in its inventory.

Parameters:

  • This command takes no parameters.

Responds:

  • TYPE Q
    • where TYPE is the typename that would be returned by a wi on this entity.
    • where Q is the quantity of this item.

Reports:

  • done when the task completes.
  • popped if popped by po.
  • forgotten if deleted by fa or fm.
  • replaced if replaced by a command scheduled with 'r'.

Example:

  • User sends: "n ci 512"
  • Bot replies "quagent_item_treasure 0"
  • Bot replies "quagent_item_map 0"
  • Bot replies "quagent_item_apple 0"
  • Bot replies "quagent_item_money 0"
  • Bot replies "quagent_item_food 0"
  • Bot replies "cp ci 512 done"