By George I think I've got it!!!
I can't believe it... as the author of many loot scripts, this problem is near and dear to my heart... IE popping a corpse while you still have exclusive rights, and the #Contid is unique from the corpse ID... at least until it goes public. I was fooling with one of my loot scripts today to tweak it for Sicarii when I revisited the idea of how to identify that you've successfully opened the corpse you were after while you still have exclusive loot rights. After a few rounds of killing Sicarii and examining different values before and after I stumbled upon something... something VERY good!
It wasn't that the solution was hiding, I just never looked hard enough before. I was checking to see if the #findcol varied (since the text goes from blue to grey) and even the #findrep value... I noticed sometimes the #findrep value did vary but sometimes it was constant so nothing concrete there. Of course we know the #contid changes but upon looking a lot closer and taking a couple screen shots of all the variables before and after the corpse goes public, I realized I had found the answer! Eureka! I'm quite proud of myself and for anyone else who already knew this, screw you and shame on you for not posting and enlightening the rest of us!
Solution:
While the #Contid's are different while you have exclusive loot rights and when it goes public, the last 5 of 7 digits of the #contid remain constant!! Thats it! A couple simple string commands to parse out the last 5 chars and check if its in the #contid you just popped and you've got a way to distinguish when you've got the right corpse and when its only you who has loot rights!
If #contid <> #(corpse id) BUT %(last 5 digits) in #contid
you've got a winner!
I'm so proud of myself, this will allieaviate so many of my loot problems, cant wait to get going on revamping all of em lol
-K