Jump to content
  • 0

Question

Posted

* need a script that announce every hour and drop 1 TCG only.

* announce the name who destroyed the tbox.

* location = prontera 140, 176

* any npc sprite will do.

Thanks in advance!

4 answers to this question

Recommended Posts

  • 0
Posted (edited)
-	script	Treasure Box Summoner	-1,{

OnClock2100:
	announce "A rare Treasure Box has been spawned somewhere in Prontera.",0;
	monster "prontera",0,0,"Treasure Box",1955,1,"Treasure Box Summoner::OnTBoxKilled";

OnTBoxKilled:
	announce "The rare Treasure Box has been destroyed by "+strcharinfo(0)+"!", bc_all;
	end;
}

this script is hidden npc

announce every hour and drop 1 TCG only.

change OnClock2100 to 

OnMinute00:
//Things to do ,which will happen every Hour at Minute 00

 

To drop 1 tcg edit the mob id 1995 add 7227 on drop list or can use this command automatic get the 7227 when the players killed

getitem 7227,1; add this code below on announce

Edited by Bringer
  • Upvote 1
  • 0
Posted
-	script	Treasure Box Summoner	-1,{

OnClock2100:
	announce "A rare Treasure Box has been spawned somewhere in Prontera.",0;
	monster "prontera",0,0,"Treasure Box",1955,1,"Treasure Box Summoner::OnTBoxKilled";

OnTBoxKilled:
	announce "The rare Treasure Box has been destroyed by "+strcharinfo(0)+"!", bc_all;
	end;
}

how to fix this error sir?

Untitled.png

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