hay emistry. yeah i tried this as well (like you mentioned in the pm) but this only checking for equipped rentals, not for quest related in the inventory (in my current case, it's a quest to exchange Sunglasses[1] to another slotted mid.
I use getequipexpiretick in the item signer, but as i said it won't work for this :/
Most confusing is, like i said, the script in the 1st post worked already.. till the restart.
edit:
thank you QQfoolsorellina, it works now again