hakuren Posted June 20, 2012 Posted June 20, 2012 (edited) i don't know if this command is exist but can someone help me with this i want an npc check if the player is moving to other map without using any mapflag loadevent and it will say dispbottom "You've move to other map"; is this possible or not? -<TAB>script<TAB>TestChecker<TAB>-1,{ OnPCMoveToOtherMapEvent: dispbottom "You've move to other map"; end; } Edited June 20, 2012 by hakuren Quote
_Dynosawr_ Posted June 20, 2012 Posted June 20, 2012 (edited) I don't know if this will work but you can try. -<TAB>script<TAB>TestChecker<TAB>-1,{ OnInit: defpattern 1, "([^:]+):.*\\(@go|@warp|<INSERT OTHER WARP COMMANDS WITH | BETWEEN EACH>)(\\s.*)?","warped"; activatepset 1; end; warped: dispbottom "You've changed maps."; end; } Edited June 20, 2012 by _Dynosawr_ Quote
hakuren Posted June 20, 2012 Author Posted June 20, 2012 I don't know if this will work but you can try. -<TAB>script<TAB>TestChecker<TAB>-1,{ OnInit: defpattern 1, "([^:]+):.*\\(@go|@warp|<INSERT OTHER WARP COMMANDS WITH | BETWEEN EACH>)(\\s.*)?","warped"; activatepset 1; end; warped: dispbottom "You've changed maps."; end; } i mean this npc will check if the player move to other map like OnPCLoadMapEvent it checks the player if this player move with this set map (ex. prontera mapflag loadevent) Quote
_Dynosawr_ Posted June 20, 2012 Posted June 20, 2012 You want it to CHECK if they moved maps? Or you want it to check WHAT map they moved? You need to specify further :\ Quote
hakuren Posted June 20, 2012 Author Posted June 20, 2012 (edited) You want it to CHECK if they moved maps? Or you want it to check WHAT map they moved? You need to specify further :\ Check if player moved to other map sir (ex. player 1 currently at prontera and move to morocc npc will check and says dispbottom "you've moved to other map";.) so i requesting a new npc command "OnPCMoveToOtherMapEvent". Edited June 20, 2012 by hakuren Quote
Question
hakuren
i don't know if this command is exist but can someone help me with this
i want an npc check if the player is moving to other map without using any mapflag loadevent
and it will say dispbottom "You've move to other map";
is this possible or not?
Edited by hakuren4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.