When I try to use : CharacterTypeNearCharacterType in a script, I get a parsing error: "Factiontype not recognised" at the column where the "distance in squares" parameter starts.

From documendon:
Parameters: faction, character type, distance in squares, faction, character type

Here is what I am testing in the script:

monitor_conditions I_CharacterTypeNearCharacterType romans_julii general 1 romans_brutii general
console_command puppify_my_love
end_monitor

In other words, when a brutii general comes within 1 square of a julii general the condition should be triggered.

Does anyone know if this condition works, or if the docudemon file is incorrect? Or is there a formatting mistake I am making?

Thanks.