prontera,164,169,3 script Daily Supply#1 647,{
if (Weight >= (MaxWeight / 2) || !checkweight(1201,1)) {
dispbottom "Please free some space from your inventory to get the Daily Supplies.";
end;
}
.@unique_id$ = "" + get_unique_id(); // <--- Your way to accecss the unique ID info
if (#DailySupply == .today_date || inarray($today_unique_id$, .@unique_id$) != -1) {
dispbottom "Daily Supply can only be claimed once per day. Resets at 12am.";
end;
}
#DailySupply = .today_date;
$today_unique_id$[getarraysize($today_unique_id$)] = .@unique_id$;
getitembound 11503,100,Bound_Account;
getitembound 11504,50,Bound_Account;
end;
OnHour00:
deletearray $today_unique_id$;
OnInit:
.today_date = atoi(gettimestr("%Y%m%d", 21));
end;
}
something like this