On another note, $mircdir includes and ending slash (looks like you already know), but in order to combine $mircdir and the rest of the path, you must use: $+

Code:
$readini($mircdir $+ script\ini\settings.ini,protection,$did(4))