How to: Capture Settlements

This script ousts whatever garrison is in the settlement and gives it to the local faction (ie, the player's faction)

Code:
script
console_command capture_settlement Londinium
end_script
It can be used in conjunction with the create_unit command to provide an instant garrison loyal to the player, or equally with a negative add_money that would represent the player purchasing the settlement or sponsoring an uprising.

Because this command only gives the settlement to the player, it can't be used on the player's own settlements.