Limestone Posted February 7, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Share Posted February 7, 2012 can anybody share or make me a script like this, when i warp in a map, it will automatically self broadcast the name of the map on my character. thanks.. Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 24, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 12:09 PM Share Posted March 24, 2012 something like this ? [ Pastebin ] Map Nickname Announcing edit at here setarray .Map$, // <mapname>,<Map Nick>, "payon","A City in Forest ..LOL", "hugel","Where is this ?", "izlude","Swordman City ", "prontera","Rune Midgaard ", "geffen","Magician Town ?"; 2 Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 7, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 12:09 PM Share Posted February 7, 2012 try this - script Sample -1,{ OnPCLoadMapEvent: if( strcharinfo(3) == "mapname" ) announce "[ "+strcharinfo(0)+" ] entered this "+strcharinfo(3)+".",bc_self; end; } mapname mapflag loadevent edit some mistake Quote Link to comment Share on other sites More sharing options...
Brian Posted February 7, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted February 7, 2012 can anybody share or make me a script like this, when i warp in a map, it will automatically self broadcast the name of the map on my character. thanks.. Use <flag> bc_self So just change the 0 in Emistry's example to bc_self. (0 is bc_all) Quote Link to comment Share on other sites More sharing options...
Limestone Posted February 7, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Author Share Posted February 7, 2012 thanks emistry and brian, the script is working how can i add more maps? Quote Link to comment Share on other sites More sharing options...
Brian Posted February 7, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted February 7, 2012 - script map_self_announce -1,{ OnPCLoadMapEvent: if (compare("prontera,geffen,payon", strcharinfo(3))) announce "You have entered the map: " + strcharinfo(3), bc_self; end; } prontera mapflag loadevent geffen mapflag loadevent payon mapflag loadevent 1. add the mapname in 'compare' in the 1st string 2. add the 'loadevent' mapflag to that map 1 Quote Link to comment Share on other sites More sharing options...
manabeast Posted March 24, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Share Posted March 24, 2012 example: map.gat ( in map name super city) can i ask? can make it's annouce mapname not map.gat name? Quote Link to comment Share on other sites More sharing options...
manabeast Posted March 25, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Share Posted March 25, 2012 (edited) yaya... nice... because i can give my custom map name =) thank you emistry. Edited March 25, 2012 by manabeast Quote Link to comment Share on other sites More sharing options...
Question
Limestone
can anybody share or make me a script like this, when i warp in a map, it will automatically self broadcast the name of the map on my character. thanks..
Link to comment
Share on other sites
7 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.