Here is a simple copy/modify of ScopeExitsForRoom that ignores darkness:
<function name="MyScopeExitsForRoom" type="objectlist" parameters="room">
<![CDATA[
result = NewObjectList()
foreach (exit, AllExits()) {
if (exit.parent = room) {
if (exit.visible) {
list add(result, exit)
}
}
}
return (result)
]]>
</function>
Note I renamed the function so the core code won't use it, but you can call it directly. You can also remove the "visible" check if you want to list invisible exits in the room as well.