Fizban was helping me out with a trigger earlier tonight, and we experienced an odd error. I wanted the trigger to load a mob with items in her inventory so she could be a shopkeeper, and then purge her after a set amount of time. Well, purging a mob lands its inventory on the floor, so Fiz came up with this to purge the inventory:
Code:
set nymph valiglicia_593
set inventory %nymph.inventory%
while %inventory%
set next %inventory.next_in_list%
%purge% %inventory%
set inventory %next%
done
It returned this:
Code:
[ Room 59316 :: wpurge: bad argument ]
[ Room 59316 :: wpurge: bad argument ]
[ Room 59316 :: wpurge: bad argument ]
[ Room 59316 :: wpurge: bad argument ]
He tried several other phrases, but they all sent back the same error. In the end, we set it up so that the shopkeeper teleports away, junks her inventory, teleports back, and purges herself.
If anyone needs to see the other errors and phrases, I have them logged. Just ask me!