Instructions:
1.) Start Script in Al-Kharid bank, enter the raw food id of the food you're wanting to cook, have a decent supply of it in bank.
(To get the id of the raw food click inventory debug in settings and hover over the raw food in inventory)
2.) When there is 1 or no more uncooked items in your bank, the script will stop itself
Download link: http://www.filedropper.com/omialkharidcook_2
NOTE:
-The script is in beta, you may still encounter bugs, feel free to post below and I will take care of them.
-I successfully cooked 1,000 shrimps with this, I didn't push on much further as everything seemed to be in order.