LIGHT TYPE()
This command will return 1 for point, 2 for spot and 3 for directional light type.

SYNTAX
Return Value=LIGHT TYPE(Light Number)

RELATED INFO
Basic3D Commands
Glossary

EXAMPLE
Light Ranges