Jump to content
  • 0

[Request] Mapname Self Announce


Question

7 answers to this question

Recommended Posts

Posted

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

Posted

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)

Posted

-	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

  • Upvote 1

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...