If you declared your achievement with a line like `define wrath_ending = Achievement(...) ` then yes, to grant it in script you'll use `wrath_ending.grant()`. If this is in a label and not a Python block you'll need to prefix it with $ i.e. `$ wrath_ending.grant()`
Feel free to look over the example label to see how it grants the example achievements.