(24*7, 0, 0,[
(store_relation, ":reln", "fac_kingdom_6", "fac_kingdom_3"),
(ge,":reln",0)],
[(call_script, "script_diplomacy_start_war_between_kingdoms", "fac_kingdom_3", "fac_kingdom_6", 1),
]),
(24*7, 0, 0,[
(store_relation, ":reln", "fac_kingdom_1", "fac_kingdom_3"),
(ge,":reln",0)],
[(call_script, "script_diplomacy_start_war_between_kingdoms", "fac_kingdom_1", "fac_kingdom_3", 1),
]),
(24*7, 0, 0,[(eq,"$g_time_of_darkness",1),#This is an example of a trigger to a war. Once you assign $time_of_darkness to 1 then permanent war is declared.
(store_relation, ":reln", "fac_kingdom_2", "fac_kingdom_1"),
(ge,":reln",0)],
[(call_script, "script_diplomacy_start_war_between_kingdoms", "fac_kingdom_2", "fac_kingdom_1", 1),
]),
(24*7, 0, 0,[#Here is the peace script. I am less sure on this one but it should work.
(store_relation, ":reln", "fac_kingdom_2", "fac_kingdom_1"),
(le,":reln",0)],
[(assign, "$g_force_peace_faction_1", "fac_kingdom_1"),
(assign, "$g_force_peace_faction_2", "fac_kingdom_2"),
]),
Just put the triggers at the end of the file but before the last ]. And make sure the trigger before these has a comma at the very end.