dragonfire
Member
- Joined
- Dec 14, 2006
- RedCents
- 722¢
I would really appreciate a little help please. I've searched the manual and the Wiki as well as this forum, but I am probably not entering exactly the right terms.
I know I am missing some subtle little syntax issue, but every time I get to this line I get the error message
The intent of the line is to check items on the corpse prior to putting them on the cursor to see if they are in a Leave Array to be left on the corpse for other members of the group or OOC rotting. The Leave Array is loading successfully from an ini. This is part of some tweaking I am doing on the Ranger Pull macro.
Error "No such 'item' member 'Find'
/if (${Corpse.Item[${LootSlot}].Find[${RV_LeaveArray[${LootLeave}]}]})
but no error with
/if (${Cursor.Name.Find[${RV_LootArray[${LootCheck}]}]})
If I echo ${Corpse.Item[${LootSlot}] the name of the item appears without error.
So, there is something about using .Find .Equal .Compare in this situation that is not allowed (I am thinking). I've tried all of them with the same results. I've tried to parenthesize the variable without success.
Please, if anyone has a thought, I would appreciate it. I've gotten this macro to run for 48 hours with issues only on rare adds with it managing a bot army using /g tells. Now, I'm just adding tweaks. If I can get these to work, I'll add it to the forum.
Many thanks in advance.
I know I am missing some subtle little syntax issue, but every time I get to this line I get the error message
The intent of the line is to check items on the corpse prior to putting them on the cursor to see if they are in a Leave Array to be left on the corpse for other members of the group or OOC rotting. The Leave Array is loading successfully from an ini. This is part of some tweaking I am doing on the Ranger Pull macro.
Error "No such 'item' member 'Find'
/if (${Corpse.Item[${LootSlot}].Find[${RV_LeaveArray[${LootLeave}]}]})
but no error with
/if (${Cursor.Name.Find[${RV_LootArray[${LootCheck}]}]})
If I echo ${Corpse.Item[${LootSlot}] the name of the item appears without error.
So, there is something about using .Find .Equal .Compare in this situation that is not allowed (I am thinking). I've tried all of them with the same results. I've tried to parenthesize the variable without success.
Please, if anyone has a thought, I would appreciate it. I've gotten this macro to run for 48 hours with issues only on rare adds with it managing a bot army using /g tells. Now, I'm just adding tweaks. If I can get these to work, I'll add it to the forum.
Many thanks in advance.