Jump to content
  • 0

Map Announcer


Littlefoot

Question


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

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~

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Map only or player only?

Possible script: http://upaste.me/9e5c319f7627bda announces to the entire map and only if player is in prontera

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

How about if only the player can see it? I mean the player who ported on a specific map?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

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 by Nameless2you
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

I want a script that when you access / ported every map (That includes field / dungeon.) . It will broadcast to your self only.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

announce "You are now at "+strcharinfo(3)+".",bc_self;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

Woah. Thanks!

I will try this later as i go home. :D

Edited by Littlefoot
Link to comment
Share on other sites

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.

×
×
  • Create New...