Limestone Posted February 7, 2012 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
Emistry Posted March 24, 2012 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
Emistry Posted February 7, 2012 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
Brian Posted February 7, 2012 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
Limestone Posted February 7, 2012 Author Posted February 7, 2012 thanks emistry and brian, the script is working how can i add more maps? Quote
Brian Posted February 7, 2012 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
manabeast Posted March 24, 2012 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
manabeast Posted March 25, 2012 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
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..
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.