Jump to content

Question

Posted

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

Posted

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.

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...