You can't do it in scripting. You can modify the effect in the various shaders, but there are limitations. I've done a torch effect for my game as a combination of shader changes and a post-filter. When the comp is over I'll help you do something similar in your game.
System Specs: OS - Windows 7 Home Premium 64-bit SP1, CPU - AMD Phenom II X4 945, 3.0Ghz, RAM - 8Gb DDR3, GFX Card - 2048MB NVIDIA GeForce GT 640, FPSC-R Version - Beta 1.0071