Accursed Sanctum has some basic raid code available. It works like all the other raid/grind code, if you have 'Raid Options' checked, it will automatically be enabled and 'do things'. To see exactly what is coded see here:
http://eq2.ogregaming.com/wiki/Raid_Ins ... ed_Sanctum
If you have your own script and would prefer Ogrebot to do nothing, simply turn off Raid Options PRIOR to starting the fight. You can turn them off mid-fight, but some of the events will continue to happen.