The problem is not getting the uniqueid of the box with events but comparing it to the opened box as there is no data about the box opened except the name. And this can be several boxes with the same name in your inventory.
So having more info about an opened box, like the bagId and slotIndex (bagid should be always BAG_BACKPACK though as long as coffers/boxes cannot be put to a bank etc.) to compare them properly and uniquely.
|