Jump to content
  • 0

clear-up monster


Get Backers

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.02
  • Content Count:  70
  • Reputation:   0
  • Joined:  11/23/20
  • Last Seen:  

can i request clear-up monster for example you need at least 10M to clear out the monsters in this room thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 2

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

prontera,0,0,0	script	Clear-Monsters	444,{
	.@zeny = 10000000;
	mes "do you like to clear all the monsters in this map ?";
	mes "It will cost you " + F_InsertComma(.@zeny) + "z";
	if(select("Yes:No") == 2)
		end;
	clear;
	if(Zeny < .@zeny){
		mes "you don't have " + F_InsertComma(.@zeny) + "z";
		end;
	}
	Zeny -= .@zeny;
	killmonsterall(strnpcinfo(4));
	mes "Done!";
	end;
}

 

Edited by sader1992
  • Upvote 1
  • MVP 1
  • Like 1
Link to comment
Share on other sites

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

1 hour ago, Get Backers said:

Thank you so much its ok can you add if there is no monster on the map can not use clear monster.!

prontera,0,0,0	script	Clear-Monsters	444,{
	if(!getmapunits(BL_MOB,strnpcinfo(4))){
		mes "no monsters in this map!";
		end;
	}
	.@zeny = 10000000;
	mes "do you like to clear all the monsters in this map ?";
	mes "It will cost you " + F_InsertComma(.@zeny) + "z";
	if(select("Yes:No") == 2)
		end;
	clear;
	if(Zeny < .@zeny){
		mes "you don't have " + F_InsertComma(.@zeny) + "z";
		end;
	}
	Zeny -= .@zeny;
	killmonsterall(strnpcinfo(4));
	mes "Done!";
	end;
}

 

  • Upvote 1
  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.02
  • Content Count:  70
  • Reputation:   0
  • Joined:  11/23/20
  • Last Seen:  

Thank you so much its ok can you add if there is no monster on the map can not use clear monster.!

Edited by Get Backers
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.02
  • Content Count:  70
  • Reputation:   0
  • Joined:  11/23/20
  • Last Seen:  

Thank you so much! problem solved!

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