//@unloadnpc ResetFreebies
//@loadnpc npc/amatsu/freebies_reset.txt

-	script	ResetFreebies	-1,{
OnClock0001:
OnClock1201:
	query_sql("UPDATE `char_reg_num_db` SET `value`= 1 WHERE `key` = 'EventFreebies' AND `value`= 2");
	announce "FREE Supplies is now again available.  Please RE-LOGIN and claim your Freebies at the Prontera.", bc_all;
	end;
OnReset:
	query_sql("UPDATE `char_reg_num_db` SET `value`= 1 WHERE `key` = 'EventFreebies' AND `value`= 2");
	announce "FREE Supplies is now again available.  Please RE-LOGIN and claim your Freebies at the Prontera.", bc_all;
	end;
OnInit:
	bindatcmd "freebies","ResetFreebies::OnReset",99,99;		// Admin reset command
	end;
}