GetAmbientLight /Environment and display

vector3 GetAmbientLight()

Gets the ambient light. x, y and z attributes are used as R, G and B color values. Normally ranges between 0 and 1.

vector3 green(0,1,0);

if (GetAmbientLight() == green)
{
    print("I see green people");
}