Code: Select all
/echo $equip(lfinger,name)Moderator: MacroQuest Developers
Code: Select all
/echo $equip(lfinger,name)Code: Select all
DWORD parmEquip(PCHAR szVar, PCHAR szOutput, PSPAWNINFO pChar)
{
// $equip(xxx)
WORD Offset = 6;
WORD Slot = 99;
WORD Index;
DWORD i=0;
PCHARINFO pCharInfo = NULL;
if (NULL == (pCharInfo = GetCharInfo())) return PMP_ERROR_BADPARM;
PCHAR szEquipSlot[] = {
"charm",
"ear1",
"head",
"face",
"ear2",
"neck",
"shoulder",
"arms",
"back",
"wrist1",
"wrist2",
"ranged",
"hands",
"primary",
"secondary",
"finger1",
"finger2",
"chest",
"legs",
"feet",
"waist",
"ammo",
NULL
};