Hi Joe,
The native way to implement it is just to use one of the Software Delivery tasks (Quick Delivery or Package Delivery) or Managed Delivery policy. These tasks\policies will use success codes defined for command line that is used for software delivery (just make sure that exit code 3010 is added to the list of success codes).
If you cannot use SW delivery tasks and policies by some reason you can use job instead with adding condition which will return 0 for the entire job if your script task will return 3010 exit code.
Thanks,
Andrew.