instead i made a SET flag script on the quest npc , and a portal that checks the flag at the map entrance .... so if this flag isnt set then u havent killed the required mob blah blah .. so it sends you to the over taken map .. but when the flag is checked it sends you to the other map ..
End part of script
[@finish]
#ACT
SET [900] 1
goto @finish1
[@finish1]
#SAY
Congratulations <$USERNAME>, You have defeated LordAelgard!\
Please accept this reward as a tribute to our gradtitude.\
<Thanks/@take>
[@take]
#ACT
SET [9000] 1
goto @take1
[@take1]
#IF
CHECKJOB Warrior
#ACT
goto @war
#ELSEACT
goto @take1
[@take1]
#IF
CHECKJOB Wizard
#ACT
goto @wiz
#ELSEACT
goto @Tao
[@War]
#ACT
SET [1005] 1
GIVE WarriorsRing 1
close
[@Wiz]
#ACT
SET [1006] 1
GIVE WizardsRing 1
close
[@tao]
#ACT
SET [1007] 1
Give TaoistsRing 1
close
Portal script
[@main]
#IF
CHECK [900] 1
#ACT
mapmove USP2 66 68
#ELSEACT
mapmove USP1 228 288
break