PapaZola Posted February 3, 2012 Posted February 3, 2012 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 Quote
1 Emistry Posted February 3, 2012 Posted February 3, 2012 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 ?? 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; } 3 Quote
0 jeromeblade Posted November 2, 2018 Posted November 2, 2018 (edited) Hi Emistry, thank you for the script. Edited November 2, 2018 by jeromeblade Quote
0 Sallycantdance Posted May 12, 2023 Posted May 12, 2023 (edited) can we add cooldown message or timer that the player can see for how many days hours and minutes they can claim again? thanks Edited May 12, 2023 by GM Winter Quote
PapaZola Posted February 3, 2012 Author Posted February 3, 2012 sir emistry this npc give random reward? and amount? Quote
Rikimaru Posted February 3, 2012 Posted February 3, 2012 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. Quote
PapaZola Posted February 3, 2012 Author Posted February 3, 2012 how i want make not random gift like i want give player 7539-1000 and 5022-1 Quote
Emistry Posted February 3, 2012 Posted February 3, 2012 it is not random gift... it is fixed... January - Gift 1 - Amount 1 February - Gift 2 - Amount 2 etc..... just follow the sequences... Quote
Rikimaru Posted February 4, 2012 Posted February 4, 2012 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. 1 Quote
Question
PapaZola
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
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.