Littlefoot Posted May 12, 2012 Posted May 12, 2012 Can anyone make a script that when a player warped at a specific map it says. "Welcome to the <Map>, <Player Name>!" The broadcast should be in a map only. Not Globally Announced. I hope the script will work on ALL MAPS. Thanks~ Quote
Nameless2you Posted May 12, 2012 Posted May 12, 2012 Map only or player only? Possible script: http://upaste.me/9e5c319f7627bda announces to the entire map and only if player is in prontera Quote
Littlefoot Posted May 12, 2012 Author Posted May 12, 2012 How about if only the player can see it? I mean the player who ported on a specific map? Quote
Aerie Posted May 12, 2012 Posted May 12, 2012 Replace [url="http://rathena.org/wiki/announce"]announce[/url] "Welcome to the map "+[url="http://rathena.org/wiki/strcharinfo"]strcharinfo[/url](3)+", "+[url="http://rathena.org/wiki/strcharinfo"]strcharinfo[/url](0)+"!",1; By [url="http://rathena.org/wiki/announce"]announce[/url] "Welcome to the map "+[url="http://rathena.org/wiki/strcharinfo"]strcharinfo[/url](3)+", "+[url="http://rathena.org/wiki/strcharinfo"]strcharinfo[/url](0)+"!",bc_self:; Last range is for target, this is from the doc/script_commands : Target flags: - bc_all: Broadcast message is sent server-wide (default). - bc_map: Message is sent to everyone in the same map as the source of the broadcast (see below). - bc_area: Message is sent to players in the vicinity of the source. - bc_self: Message is sent only to current player. Quote
Nameless2you Posted May 12, 2012 Posted May 12, 2012 (edited) What Aerie ment was, change the announce "some text",1; to announce "some text",3; And what he also ment was that you can all look it up here: http://rathena.org/wiki/Announce Edited May 12, 2012 by Nameless2you Quote
Aerie Posted May 12, 2012 Posted May 12, 2012 Oh I didn't notice the bug for code balise ... You can use both numerical or alphabetical way but really clear in the wiki ;D Quote
Littlefoot Posted May 12, 2012 Author Posted May 12, 2012 I want a script that when you access / ported every map (That includes field / dungeon.) . It will broadcast to your self only. Quote
Emistry Posted May 13, 2012 Posted May 13, 2012 try this ? http://upaste.me/d40332109797738 for the loadevent stuff..you have to put every map for it. but if i was right...you can just download the maplist that has loadevent mapflag with it in myzster script... not sure he still have this in his topic.. or you can just edit your src to ensure every single map also run with loadevent mapflag Quote
Aerie Posted May 13, 2012 Posted May 13, 2012 Here the list for all mapflags : http://upaste.me/58de32847e28d6e Quote
Littlefoot Posted May 13, 2012 Author Posted May 13, 2012 I cannot add a ! or . next to the name of the map. Here announce "You are now at "+strcharinfo(3).,bc_self; I tried putting those and then the script doesn't work anymore. Quote
Emistry Posted May 13, 2012 Posted May 13, 2012 announce "You are now at "+strcharinfo(3)+".",bc_self; Quote
Littlefoot Posted May 13, 2012 Author Posted May 13, 2012 (edited) Woah. Thanks! I will try this later as i go home. Edited May 13, 2012 by Littlefoot Quote
Question
Littlefoot
Can anyone make a script that when a player warped at a specific map it says.
"Welcome to the <Map>, <Player Name>!"
The broadcast should be in a map only. Not Globally Announced.
I hope the script will work on ALL MAPS. Thanks~
11 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.