Protecting third party software from running with different arg

I want to protect third party executable from running with different parameters, is that possible with scripting in the vmprotect ? if so, could you show some example of doing it ? or is it the scripting only for compilation time ?

I would need to compare the arg with variable for example:

if argv[1] <> “test” then exit (don’t run software)

The script works only at the compilation time, so you can’t use it at the starting of the protected file.

Thank you for quick answer.