OFX stands for Open FX, and is a standard (thus not specific to Sony) defining a way to develop video effects that can integrate with any OFX-compliant host, such as Sony Vegas.
From the developer point of view, it simplifies development, letting developers focus on the clip manipulation logic, rather than the integration code which is required for instance in former DirectX plug-ins.
From the end-user point of view, it means a standardized user interface showing a consistent set of controls such as sliders, checkboxes and so on, between the various OFX plug-ins of different providers. It also brings the possibility to have more powerful effects, because OFX plug-ins can access to several frames of a given clip at the same time, which was not possible with DirectX plug-ins. You could then imagine plug-ins bringing velocity changes into clips for instance.
There is no link with scripting, which - as far as I could check - behave similarly between Vegas Pro 10 and Vegas Pro 11 if this is your question.