void makebud(); void main() { if (GetInventoryDisturbType()==INVENTORY_DISTURB_TYPE_REMOVED&&GetTag(GetInventoryDisturbItem())=="jw_night_bud") { DelayCommand(21600.0,makebud()); } } void makebud() { CreateItemOnObject("jw_night_bud",OBJECT_SELF,1); }