#loop is not a dommand it is just a bookmark for example but it is commonly used in loops i dont know why
the '#' creates a bookmark so you can go to that point using the command goto "name of bookmark here" when using goto do not put the # in the brackets
okay but anyway on to your question
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal","back"]
#loop start
_camera settarget a1
_camera setrelpos [6,6,6]
_camera camcommit 0
~0.0
? moveon : goto "next" else goto "loop start"
#next
; here you can place the rest of your camera script
as you can see that will refresh the camera every 0.0 seconds you can change it to what you want 0.0 works best but can cause lag
when moveon = true it will carry on with the script if you want you can change the condition moveon to suit your needs i usually actiavate the condition for the script to carry on using a trigger or a waypoint
hope this helps
also syntax for above i am 100% sure its correct