Saves or creates an equipment set with the player's currently equipped items. If a set with the same name already exists, that set's contents are overwritten.
Set names are case sensitive: if a "Fishing" set already exists, saving a "fishing" set will create a new set instead of overwriting the "Fishing" set.
See also Equipment Manager functions.
name- Name of the set (
icon- Index of an icon to associate with the set: between
GetNumMacroIcons()for an icon from the set of macro icons; values between
-INVSLOT_LAST_EQUIPPEDfor the icon of an item in the equipment set at that (negative)