Only an exact match with the chosen word would cause Nocturno’s triggered ability to trigger. For example, if you chose “attack,” casting a spell with “attacks,” “attacking,” or “attacked” in the rules text wouldn’t cause the ability to trigger.
2022-10-07 • wotc