hakuren Posted June 20, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share 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 Link to comment Share on other sites More sharing options...
_Dynosawr_ Posted June 20, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 69 Reputation: 10 Joined: 05/14/12 Last Seen: June 26, 2012 Share 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 Link to comment Share on other sites More sharing options...
hakuren Posted June 20, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
_Dynosawr_ Posted June 20, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 69 Reputation: 10 Joined: 05/14/12 Last Seen: June 26, 2012 Share 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 Link to comment Share on other sites More sharing options...
hakuren Posted June 20, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
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 hakurenLink to comment
Share on other sites
4 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.