Jump to content
  • 0

R: MVP Announcer when killed


Rizta

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   5
  • Joined:  08/12/17
  • Last Seen:  

Hi everyone!

I would request a script that announce when MVP X is killed by Y(player) in the Z(party). 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  255
  • Reputation:   232
  • Joined:  07/24/13
  • Last Seen:  

-	script	MVP_Announce#Balfear	-1,{
OnNPCKillEvent:
	if (getmonsterinfo(killedrid,MOB_MVPEXP) != 0)
		if (getcharid(1))
			announce "MVP ("+ getmonsterinfo(killedrid,MOB_NAME)+") killed by '"+ strcharinfo(0) +"' from party '"+ strcharinfo(1) +"'.",bc_yellow|bc_all;
		else
			announce "MVP ("+ getmonsterinfo(killedrid,MOB_NAME)+") killed by '"+ strcharinfo(0) +"'.",bc_yellow|bc_all;
	end;
}

 

Edited by Balfear
  • Love 1
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...