Jump to content
  • 0
PapaZola

[Request] Monthly Reward

Question

may i have script monthly reward

npc will give give reward(sample january month)

and if already february player cant take gift on npc

reward like

7539-100

5022-1

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

npc will give give reward(sample january month)

and if already february player cant take gift on npc

huh ? month reward but cant claim again on next month ???


are you looking for a npc that give Item Monthly ?? :D

try this

prontera,155,181,5 script Sample 757,{
// January ~ December Item Lists
setarray .ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022;
setarray .Amount[0],1,2,3,4,5,6,7,8,9,10,11,12;
if( #MonthlyReward != gettime(6) ){
getitem .ItemID[gettime(6)],.Amount[gettime(6)];
set #MonthlyReward,gettime(6);
mes "You have grant an item for this month.";
}else{
mes "You cant take a reward again this month.";
}
close;
}

  • Upvote 2
Link to comment
Share on other sites

setarray .ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022;
setarray .Amount[0],1,2,3,4,5,6,7,8,9,10,11,12;

setarray .ItemID[0] sets the Item ID's , that means Players get Items with the ID 7539,5022,512,607,608

setarray .Amount[0] sets the Amount of the Item,which the Players get.

Link to comment
Share on other sites

setarray .ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022;
setarray .Amount[0],1000,1,3,4,5,6,7,8,9,10,11,12;

This is going to be for January : Item ID 7539, Item Amount : 1000

After that for February : Item ID 5022, Item Amount : 1

After that for March : Item ID 512 , Item Amount : 3

So this is easy to change.

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.