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

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  256
  • Reputation:   245
  • 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

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  04/13/14
  • Last Seen:  

On 10/1/2018 at 2:10 PM, Balfear said:
-	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;
}

 

how add mvp like naght sieger got announce when player kill in instance ?

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