In simple terms the script will require you to set up the Hotkeys for each recipe on the hotbar so :
1. Create a new hotbar and fill it with the the required recipes, lets say for example: you make a 'CTRL' type hotbar and fill the first 10 slots with your fav recipes...
2. So effectively we have a recipe hotbar that will activate recipes by pressing CTRL+1 - 10 (making sure we have crafting table targetted).
3. Script: We now have our 'CTRL' hotbar ready to roll with 10 recipes.
So we set the number of recipes:
10So we set the KEY for each recipe for Recipe 1:
^1 <--- CTRL+1
So we set the KEY for each recipe for Recipe 2:
^2 <--- CTRL+2
So we set the KEY for each recipe for Recipe 3:
^3 <--- CTRL+3
........................
So we set the KEY for each recipe for Recipe 10:
^0 <--- CTRL+0
Example of Recipes .ini with a
2 FULL! recipe bars set (using both CTRL & ALT+(Recipe Number)!
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
[RecipeSet]
recipes0=!1
recipes1=!2
recipes2=!3
recipes3=!4
recipes4=!5
recipes5=!6
recipes6=!7
recipes7=!8
recipes8=!9
recipes9=!0
recipes10=!-
recipes11=!=
recipes12=^1
recipes13=^2
recipes14=^3
recipes15=^4
recipes16=^5
recipes17=^6
recipes18=^7
recipes19=^8
recipes20=^9
recipes21=^0
recipes22=^-
recipes23=^=
4. So we now have set-up our new recipes!
5. Any time we load our script it reads the previous set recipes!
6. Do you wish to use recipes, yes?
7. Do you wish to use current recipe list, yes?
8. How many of each one?
9. [RECIPE MODE] will show as ON in crafting setup to remind you recipes are enabled!
10. Select craft table, it will AUTO press CTRL+1 to bring up the first recipe and it will start crafting (the amount of items required)
11. *Script MIND* -> Completed the (x amount of items?), -> AUTO presses CTRL+2 for next recipe....
12. *Script MIND* -> have we made 20 x 10 recipes, yes? -> COMPLETED Ding noise etc

Hope this helps, as far as the code concerned to achieve it, is another matter - it's pretty complex as it also flags for auto disconnect and reset's [last known] recipe etc... so to long winded to explain that in detail.
Good Luck..