Equip

From Kolmafia
Revision as of 16:27, 20 December 2009 by 58.175.86.180 (talk) (Wrote the page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

boolean equip(slot slottype, item itemtype)
boolean equip(item itemtype)


Will attempt to equip the item. If the slot is not provided it will attempt to place it in the 'normal' position for the item. (A hat will be placed in a hat slot, a weapon in the mainhand etc.)

The return value indicates whether the item was succesfully equipped or not.

Note: If no slot is selected, accessories will only be placed in empty slots.

equip($slot[acc3],$item[hardened slime belt]);
Attempts to equip the hardened slimt belt in the accessory 3 slot.

equip($item[rave whistle]);
Attempts to equip the rave whistle as the main weapon.