Sort

From StickMUD
Jump to navigation Jump to search

sort - organize the order of items by name or category.

Description

Reorganize the order of items by name or category. If category is not specified, items are sorted by name. One may specify 1 or more categories to sort first by category, then by name. When specifying categories, only those items under that category are sorted and moved to the top of the list. Items must be able to be picked up to sort. When sorting 100 or more items, it will take a few rounds to complete. The more stuff there is, the longer it will take.

Known categories:

  • armours - all armour types
  • bottles - all drinks/potions
  • food - all edible food
  • instruments - all instrument types
  • misc - anything not a weapon, instrument or armour
  • weapons - all weapon types.
Syntax
Command Description
sort room Sort items in the room by name.
sort room [by <category>] Sort only items in the room matching <category> by name to the top.
sort room [by <category1>,<category2>[,<..categoryN>]] Sort only items in the room ordered by grouped <categories> by name to the top.
sort inventory Sort items in inventory by name.
sort inventory [by <category>] Sort only items in inventory matching <category> by name to the top.
sort inventory [by <category1>,<category2>[,<..categoryN>]] Sort only items in inventory ordered by grouped <categories> by name to the top.
sort <container> Sort items in the <container> by name.
sort <container> [by <category>] Sort only items in the <container> matching <category> by name to the top.
sort inventory [by <category1>,<category2>[,<..categoryN>]] Sort only items in the <container> ordered by grouped <categories> by name to the top.

Examples

sort room
  • Sorts all items in the room. Must be able to pick items up.
sort room by weapons
  • Sort only weapons in the room.
sort inventory
  • Sorts all items in your inventory.
sort inventory by weapons,armours
  • Sort only weapons and armour in your inventory. Weapons will be name sorted and grouped above armour.
sort bag
  • Sorts all items contained in the bag or specified container type item.
sort bag by food,bottles
  • Sort only food and bottles in the bag.

See Also

inventory and, swap