scripts: recognize the "q", "s" and "S" actions/modifiers in ar-lib