OK. First of all you need to have a background script installed . The easiest way is to install a 4TPY script. When you have it, open the script file that must have been placed in the folder: scripts\show_me. Once you have opened, you will see this:
Code:
script
while I_TurnNumber < 1840
select_ui_element advisor_dismiss_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
suspend_unscripted_advice true
Here you can place all the scripted diplomacy like this:
Code:
monitor_event FactionTurnStart FactionType armenia
and not I_LocalFaction armenia
and not I_LocalFaction pontus
and I_TurnNumber > 9
and I_TurnNumber < 50
console_command diplomatic_stance armenia pontus allied
end_monitor
monitor_event FactionTurnStart FactionType pontus
and not I_LocalFaction armenia
and not I_LocalFaction pontus
and I_TurnNumber > 9
and I_TurnNumber < 50
console_command diplomatic_stance armenia pontus allied
end_monitor
monitor_event FactionTurnEnd FactionType pontus
and not I_LocalFaction armenia
and not I_LocalFaction pontus
and I_TurnNumber > 9
and I_TurnNumber < 50
console_command diplomatic_stance armenia pontus allied
end_monitor
monitor_event FactionTurnEnd FactionType armenia
and not I_LocalFaction armenia
and not I_LocalFaction pontus
and I_TurnNumber > 9 ;<- this is to limit the effects of the script to certain dates. Otherwise they would be allied forever :)
and I_TurnNumber < 50
console_command diplomatic_stance armenia pontus allied
end_monitor
Hope this helps