joven15 0 Posted March 31, 2014 Can anyone help me please. - script Sample -1,{ OnInit: setarray .Map$, // <mapname>,<Map Nick>, "c_tower3_","Clock Tower, 3nd Floor", "artz_pvp","TrivalRO PVP"; for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) setmapflag .Map$[.i],mf_loadevent; end; OnPCLoadMapEvent: for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) if( strcharinfo(3) == .Map$[.i] ) announce "You entered map : "+.Map$[.i+1]+" .",bc_self; end; } Quote Share this post Link to post Share on other sites
0 joven15 0 Posted April 1, 2014 post your edited script here and I'll edit it here ---> http://upaste.me/a94711477dc295e9e see if it works http://upaste.me/r/d51c1147949c141ff Thanks it works now. Quote Share this post Link to post Share on other sites
0 Ragnar Lothbrok 21 Posted April 1, 2014 I have same script like this and it's working only on my 2 custom maps, other map like prontera, morroc etc it doesn't announce the name of the map please check thanks.. here's the script.. help please! - script where_am_i -1,{ OnPCLoadMapEvent: set .@map$, replacestr(replacestr(strcharinfo(3), "@","_"), "-","_"); if (getd("."+.@map$+"$") != "") announce " [ " + getd("."+.@map$+"$") + " ] ",bc_self,; end; OnInit: set .prontera$, "Prontera City, Capital of Rune Midgard"; set .morocc$, "Morroc Town"; set .06guild_03$, "Guild War Arena"; set .06guild_04$, "Guild War Arena"; end } Thanks! do those maps got loadevent mapflag? @evilpuncker can you help me also w/ this? your script is pretty broken lol xD use this one instead and add your custom maps: http://upaste.me/r/d51c1147949c141ff okei i use this and i got this debug, but i can't find "1" on the script.. Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted April 1, 2014 I have same script like this and it's working only on my 2 custom maps, other map like prontera, morroc etc it doesn't announce the name of the map please check thanks.. here's the script.. help please! - script where_am_i -1,{ OnPCLoadMapEvent: set .@map$, replacestr(replacestr(strcharinfo(3), "@","_"), "-","_"); if (getd("."+.@map$+"$") != "") announce " [ " + getd("."+.@map$+"$") + " ] ",bc_self,; end; OnInit: set .prontera$, "Prontera City, Capital of Rune Midgard"; set .morocc$, "Morroc Town"; set .06guild_03$, "Guild War Arena"; set .06guild_04$, "Guild War Arena"; end } Thanks! do those maps got loadevent mapflag? @evilpuncker can you help me also w/ this? your script is pretty broken lol xD use this one instead and add your custom maps: http://upaste.me/r/d51c1147949c141ff okei i use this and i got this debug, but i can't find "1" on the script.. post your edited script here on upaste Quote Share this post Link to post Share on other sites
0 Ragnar Lothbrok 21 Posted April 1, 2014 (edited) I have same script like this and it's working only on my 2 custom maps, other map like prontera, morroc etc it doesn't announce the name of the map please check thanks.. here's the script.. help please! - script where_am_i -1,{ OnPCLoadMapEvent: set .@map$, replacestr(replacestr(strcharinfo(3), "@","_"), "-","_"); if (getd("."+.@map$+"$") != "") announce " [ " + getd("."+.@map$+"$") + " ] ",bc_self,; end; OnInit: set .prontera$, "Prontera City, Capital of Rune Midgard"; set .morocc$, "Morroc Town"; set .06guild_03$, "Guild War Arena"; set .06guild_04$, "Guild War Arena"; end } Thanks! do those maps got loadevent mapflag? @evilpuncker can you help me also w/ this? your script is pretty broken lol xD use this one instead and add your custom maps: http://upaste.me/r/d51c1147949c141ff okei i use this and i got this debug, but i can't find "1" on the script.. post your edited script here on upaste Here please check, thanks! http://upaste.me/0dcd11491890e9ed6 i change a little bit this one: announce "" + .maps$[ .@i + 1 ] + "", bc_self, 0xDC143C, FW_BOLD,20; Edited April 1, 2014 by P r o p e r t i e s Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted April 1, 2014 http://upaste.me/b0d911495238210bc changed: "c_tower3_","Clock Tower, 3nd Floor", into: "c_tower3_","Clock Tower, 3nd Floor"; Quote Share this post Link to post Share on other sites
0 Ragnar Lothbrok 21 Posted April 2, 2014 http://upaste.me/b0d911495238210bc changed: "c_tower3_","Clock Tower, 3nd Floor", into: "c_tower3_","Clock Tower, 3nd Floor"; Thank You! Quote Share this post Link to post Share on other sites
0 joven15 0 Posted April 2, 2014 http://upaste.me/b0d911495238210bc changed: "c_tower3_","Clock Tower, 3nd Floor", into: "c_tower3_","Clock Tower, 3nd Floor"; Hi. sir can i ask. how to change the color of the announcer . like BLUE or DARK BLUE COLOR . can u help us? Quote Share this post Link to post Share on other sites
0 Zezicla 2 Posted April 2, 2014 (edited) sir the script you made proberly keeps repeating it self after rewapring in the same map ? if it does could you let it only shown once only when enter new map show again ? haha thnx Edited April 2, 2014 by Zezicla Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted April 2, 2014 http://upaste.me/b0d911495238210bc changed: "c_tower3_","Clock Tower, 3nd Floor", into: "c_tower3_","Clock Tower, 3nd Floor"; Hi. sir can i ask. how to change the color of the announcer . like BLUE or DARK BLUE COLOR . can u help us? change the DC143C to desired color, you may use this tool to get the code http://www.colorschemer.com/online.html Quote Share this post Link to post Share on other sites
0 joven15 0 Posted April 2, 2014 http://upaste.me/b0d911495238210bc changed: "c_tower3_","Clock Tower, 3nd Floor", into: "c_tower3_","Clock Tower, 3nd Floor"; Hi. sir can i ask. how to change the color of the announcer . like BLUE or DARK BLUE COLOR . can u help us? change the DC143C to desired color, you may use this tool to get the code http://www.colorschemer.com/online.html can u give us example? Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted April 2, 2014 http://upaste.me/b0d911495238210bc changed: "c_tower3_","Clock Tower, 3nd Floor", into: "c_tower3_","Clock Tower, 3nd Floor"; Hi. sir can i ask. how to change the color of the announcer . like BLUE or DARK BLUE COLOR . can u help us? change the DC143C to desired color, you may use this tool to get the code http://www.colorschemer.com/online.html can u give us example? changing the current color into the first color of the link I gave u: announce "" + .maps$[ .@i + 1 ] + "", bc_self, 0xDC143C, FW_BOLD,20; will be announce "" + .maps$[ .@i + 1 ] + "", bc_self, 0x3366FF, FW_BOLD,20; Quote Share this post Link to post Share on other sites
0 Luffy 14 Posted June 6, 2014 Help its not working on other maps like morroc , prontera and etc. Quote Share this post Link to post Share on other sites
Can anyone help me please.
Share this post
Link to post
Share on other sites