Doors and Portals to next map

Hi. After making my thread about the walls, although no one ever replied i manage to solve my problem. Now, i need doors to next map or portal. I tried to put the coordianates of my hero to next map by means of frame. but if i have 2 portals on the same map my method seems impossible. Can anyone help me about this? about doors and boundaries on my map.