OnInit: bindatcmd("dailyreward",strnpcinfo(0)+"::OnAtCmd"); end;
OnAtCmd:
if (#dailyreward > gettimetick(2)) {
message strcharinfo(0),"You must wait 24 hours before receiving more items.";
end;
}
// getitem x,y;
set #dailyreward, gettimetick(2)+86400;
end;
Player must be online first for 1 hour before he/she can use this command.