Crusader Kings II

Crusader Kings II

Modify the World
Modify your Crusader Kings II experience by checking out the many mods created and shared by the community, including tweaks to almost any aspect of the game.
Learn More
Modifying characters with script in console?
Is it possible to set up a script you can run via command in console to modify the traits and modifiers of characters other than your current ruler?

I'm running a bunch of mods and use console heavily to modify a number of characters but would like a way to cut down on how many commands I need to type so hoping it's possible to set something up that I could use to batch add wanted traits and modifiers and another or same one to remove unwanted traits.

Pretty sure from looking at wiki it can be done for current ruler but not sure if it's possible to do for others.