The launch script function can take a users input and pass them on to a script you write. This can be any script that can executed by the OS the PBX is running on. For windows for example it could be a .bat file. The same file however would not run on Linux. You could then (optionally) have your script return a value to the PBX and set that value to perform an action.