on inventory open: if {eq::%player%} is false: cancel event