prontera,137,111,5 script Maurel 604,{
// January ~ December Item Lists
setarray .@ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022;
setarray .@Amount[0],10,10,10,10,10,10,10,10,10,10,10,10;
if( #MonthlyReward != gettime(DT_MONTH) ){
getitem .@ItemID[gettime(DT_MONTH)],.@Amount[gettime(DT_MONTH)];
set #MonthlyReward,gettime(DT_MONTH);
mes "You have grant an item for this month.";
}else{
mes "You cant take a reward again this month.";
}
close;
}
Btw I use Emistry script but when talk to npc i didnt get the item
and get error like this in console
[Error]: buildin_getitem: Nonexistant item 0 requested.