The ">" sign redirects the output to the file following the sign. NIL: is the AmigaDOS trashcan, it trashes everything written to it.
So if the addbuffers command does not stop the script the addition of ">NIL:" to the command will be sufficient. You may also add the line
failat 21
to the top of the script so it will bever be stopped by a failing command. (Failat sets the smallest return code which will stop the script. And a failing command usually returns 20.)
Bye,
Thomas