how can i remove the dialogue with the "format userdata" and unlock bootloader"? and just make the deuces script flash everything without prompting with "format userdata or unlock bootloader"?
Do you want to format userdata or not? As for the unlock bootloader question, I assume you have so you just don't want the prompt. At line 12, if you want to be sloppy (the text will just flash by on the screen without pausing), put a : (colon) in front of the pause -

ause
That turns it into a label instead of a command.
For the "format userdata", what you do depends on whether you want it to format without asking or skip formatting without asking.
(Or you could look online for batch files and learn how they work. This script isn't complex, it just has a brilliant idea that kind of forces the phone to accept the system files. The Special Theory of Relativity wasn't anything special either, it was just a brilliant idea. Batch [or script, depending on what you;re running] files aren't anything more than the commands you'd type in by hand, plus a few things you wouldn't normally use, like pause statements and labels.)
---------- Post added at 03:37 PM ---------- Previous post was at 03:31 PM ----------
I may stop rooting my device
Reading that gave me shudders.
as every month I run into an issue with the OTA's.
I just back up my data (just in case) and run Deuce's script on the full factory package every month. I plan on having to do it. (Even cleaning the phone as much as I thought I could caused the OTA update to fail.)
Not only that, it always ends up wiping my userdata even though I remove the -w flag from the stock flash all bat.
But Deuces, if you tell it not to, doesn't. Granted, it takes a little longer, but the actual work isn't much - and I have a full backup (/sdcard including today's TWRP data backup) on my PC.
The only problem I'm noticing about the June update is that it seems to have broken Magisk's ability to load modules. MCS fails every time.