Tested! Been waiting for something like this for a long time, thank you crisis.
I found a few thingys. Running out of any resource gives you the resource type then says !Col.
Out of ENK !Col
Please place 50 ENK N/A in your backpack and then press play.
Also if you manually enter the container types at the top of the script it will not open the containers after running the script, you have to manually open them. Because there is no way for the script to check if the container is open, closing any of the containers while the script is running breaks the script as soon as you need to pull more resources.
If you could get around to adding a check for inscription tools in the resource container before trying to use tinkering that would be nice. Having to manually load them is kinda a pain. I do not have tinkering on my mage

Update: I did it for you
sub CheckScribe
; keep two in pack in case current one gets worn out
finditem %Scribe_Tool C_ , #backpackid
if #findcnt < 2
{
gosub Pullscribe
}
return
;===================================================================
sub Pullscribe
finditem %scribe_Tool C_ , %Resource_Secure
if #findcnt > 2
{
exevent drag #findid #findstack
wait 10
Exevent Dropc #backpackid
wait 10
Return
}
Gosub Craftscribe
Return
;===================================================================
I added that because I am very lazy. for those of you that are lazy like me, pretty sure that is everyone here though because we are using euo. Anywho. I need sleep and crisis needs to make me 126k blank scrolls.