if sm.hasQuest(1602): sm.warp(931050402) else: sm.chat("This portal is blocked.")