def master_event(pc): r = script.select(pc, ("enter", "close", "cancel"), "master rope") if r == 1: script.warp(pc, pc.event_id, random.randint(6, 7), random.randint(10, 11)) elif r == 2: usermaps.unset_usermap(pc)
def unset_usermap(self, logout=False): return usermaps.unset_usermap(self, logout)