This seems like a false positive to me:
Add_alliance is a valid command, and both ROOT and the random ruler scope to characters..
Code:
--- Error 308 of 1915 ---
At <mod>\events\cm_charlemagne_story_events.txt [character_event\option\random_independent_ruler\add_alliance] (Line 4494, column 4):
Invalid node "add_alliance" in scope CharMaybeLimitCommand (value is: <a complex type>)
Code:
random_independent_ruler = {
...
opinion = { who = ROOT modifier = honored_alliance years = 10 }
add_alliance = { who = ROOT years = 20 }
}
Add_alliance is a valid command, and both ROOT and the random ruler scope to characters..