def onContextEntry(player, item, entry): if entry != 67: return False if not checkAccess(player, item.multi, ACCESS_OWNER): return False showGump(player, item) return True
def onContextCheckVisible(player, item, tag): return checkAccess(player, item.multi, ACCESS_OWNER)