The amsg alias is useless+taking over a built-in alias and can be replaced with:
scid -a amsg $did(5).txt