I wonder if you could go into your User folder, located where VP is installed, and open the Controller.txt
Maybe change the 1's to 0's.
Here is example of Controller.txt
forcedisableB2S=0
UseDOFcontactors=0
UseDOFKnocker=0
UseDOFChimes=0
UseDOFBell=0
UseDOFGear=0
UseDOFShaker=0
Not sure if this will work.
Because I have never had to remove the dof calls in script.
These DOF lines in scripts should not effect someone who doesn't have DOF installed on there system.
I would think you are getting this error from copies of your scripts being somewhere besides your scripts folder.
Check to see if you have any vbs scripts anywhere else besides your script folder.
Or update to latest VPX, which comes with the newest vbs scripts.