That tutorial Pepper talked about is probably my tutorial (right, Pepper?).
I use 3 beams (with a custom sprite) and 2 sprites. Take a look at the tutorials page on www.cpcp.tk, it's the first tutorial. Throw it in a translator site and you should pretty well be able to follow it.
The final effect is a very random flickering flame. Please note that in this tutorial I only use one sprite, but I often spice it up now with an additional glow sprite. Well, just experiment with it...