Currently we have no command to get which is the main camera, or if there is an activated r2t camera.
Something I imagine:
allCameras; /* [ [camera object, effect name, effect position, r2t name, viewmode (Normal/NV/TI), TIMode, isPrimary (the primary camera)], ...and so fourth ] */