Jump to content
  • 0

[Request] Monthly Reward


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

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

8 answers to this question

Recommended Posts

  • 1

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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 3
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  01/29/15
  • Last Seen:  

Hi Emistry, thank you for the script.

Edited by jeromeblade
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

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 by GM Winter
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

sir emistry this npc give random reward?

and amount?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

how i want make not random gift

like i want give player

7539-1000

and 5022-1

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

it is not random gift...

it is fixed...

January - Gift 1 - Amount 1

February - Gift 2 - Amount 2

etc.....

just follow the sequences...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

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