Here's something I made quickly
sync on
sync rate 30
hide mouse
autocam off
hide light 0
set ambient light 10
make light 1
position light 1,500,100,500
rem Comment/uncomment these lines to make different lights
set spot light 1,30,60
`set point light 1,500,100,500
rem Make some stuff to light up
make matrix 1,1000,1000,20,20
randomize matrix 1,50
update matrix 1
make object sphere 1,100
position object 1,800,250,500
make object box 2,100,100,100
position object 2,300,100,700
make object plain 3,1000,1000
xrotate object 3,90
position object 3,500,0,500
make object cone 4,100
xrotate object 4,90:fix object pivot 4
position object 4,500,100,500
do
a#=wrapvalue(a#+1)
position camera 500+(sin(a#)*500),200,500+(cos(a#)*500)
point camera 500,0,500
rotate light 1,0,a#+180,0
rotate object 4,0,a#+180,0
sync
loop
Here's some code I made quickly. The point light should light up everything except the cone, because the light's inside it, and the plain, because it's too big. Huge polygons won't be lit up effectively due to the way they are rendered, taking light information from it's vertices. The spot light should be facing away from the camera as it rotates, but doesn't light stuff up as I'd expect.