Implemented the prototype for "equip"/"unequip" cmd.