/remini <inifile> <section> [item]
Deletes whole sections or single items in an INI file.

/remini my.ini DDE ServerStatus
This would delete the ServerStatus item.


And yes, mIRC cares about spaces, it's a delimiter. It has advantages (no need to put a ; after each command, no need to put in "" around each string, no need to use & or strconcat or some operator to combine 2 strings, ...
Disadvantages are it being picky about whitespace and not being sure a string keeps a string and isn't evaluated.


For the dialogs, you have to disable them on init iirc, something like
did -b scad_setup 123

You can remove the / and // from your code btw, in script files all lines are considered commands.