Jump to content
  • 0

R>NPC that give item everyday (Read Pls)


CursorX

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

Hi evryone.. may i request an npc.. that can give some item to player in everyday?

 

example..

 

1. im going to put that NPC in 99th floor, every char reaches to it.. they will talk to it.. and will be given by a KMV Badge of 500pcs / per char..

2. if they talk to it in same day/same char npc will never give item again.. instead he will say "Come Back Another Day" ^^

 

thank you...

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  


mapname,x,y,z script Badge Distributer 123,{

if( gettimetick(2) < KMV_wait_time ) { mes "You can only receive badges once per day."; close; }

getitem .itemID, .amt;

set KMV_wait_time, gettimetick(2) + ( 3600 * 24 );

mes "Congratulations on reaching the 99th floor.";

mes "Here are your daily KMV Badges!";

close;

OnInit:

set .itemID, KMV_badge_id_number; //Item ID of the item to be given.

set .amt, 500; //Amount to be given.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

i will try it sir thank you

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