What you need for spotlights is vecLightDir, its non zero when you have a spotlight. All 3 sorts of lights are in the light array.