UsedOnMe, ObjectID
if ( UsedOnMe, Misc_pot_redware_01 )

Returns true if the ObjectId has been used on the calling object. This is used for scripts that make objects do certain things of the player uses an object on it.

See “UseTest” script