terminate_monitor = a one time event.
Code:
;;;;;;;;;;;;;;;;;;;;;;;; Hungary Requests Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
declare_counter aid_hungary
monitor_event FactionWarDeclared FactionType hungary
and TargetFactionType russia
set_counter aid_hungary 1
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and FactionType teutonic_order
and I_CompareCounter aid_hungary = 1
and DiplomaticStanceFromFaction hungary <= Hostile
historic_event aid_hungary true factions { teutonic_order, }
terminate_monitor
end_monitor
monitor_conditions I_EventCounter aid_hungary_accepted = 1
console_command diplomatic_stance teutonic_order russia war
console_command add_money 25000
spawn_army
faction teutonic_order
character Wenceslaus Vaclav, named character, age 18, x 354, y 224
traits GoodCommander 5 , LoyaltyStarter 1 , GoodAdministrator 3 , Loyal 4 , PublicFaith 4 , BattleChivalry 4 , StrategyChivalry 3 , Stoic 3 , ReligiousActivity 2 , ReligionStarter 1
unit TO Bodyguard exp 6 armour 3 weapon_lvl 0
unit Teutonic Knights exp 3 armour 1 weapon_lvl 0
unit Teutonic Knights exp 3 armour 1 weapon_lvl 0
unit Teutonic Knights exp 3 armour 1 weapon_lvl 0
unit Teutonic Knights exp 3 armour 1 weapon_lvl 0
unit Longbowmen exp 2 armour 1 weapon_lvl 0
unit Longbowmen exp 2 armour 1 weapon_lvl 0
unit Longbowmen exp 2 armour 1 weapon_lvl 0
unit Longbowmen exp 2 armour 1 weapon_lvl 0
unit Order Spearmen exp 2 armour 1 weapon_lvl 0
unit Order Spearmen exp 2 armour 1 weapon_lvl 0
unit Order Spearmen exp 2 armour 1 weapon_lvl 0
unit Order Spearmen exp 2 armour 1 weapon_lvl 0
end
terminate_monitor
end_monitor
;;;;;;;;;;;;;;;;;;;;;;;; Poland Requests Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
declare_counter aid_poland
monitor_event GeneralCaptureSettlement FactionType lithuania
and TargetFactionType poland
and SettlementName Konigsberg
set_counter aid_poland 1
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and FactionType teutonic_order
and I_CompareCounter aid_poland = 1
and DiplomaticStanceFromFaction poland <= Hostile
and I_SettlementOwner Konigsberg = lithuania
historic_event aid_poland true factions { teutonic_order, }
terminate_monitor
end_monitor
monitor_conditions I_EventCounter aid_poland_accepted = 1
console_command diplomatic_stance teutonic_order lithuania war
console_command add_money 25000
spawn_army
faction teutonic_order
character Nikolaus von Hesse, named character, age 18, x 293, y 270
traits GoodCommander 4 , LoyaltyStarter 1 , GoodAdministrator 3 , Loyal 4 , PublicFaith 4 , BattleChivalry 4 , StrategyChivalry 3 , ReligiousActivity 2 , ReligionStarter 1
unit TO Bodyguard exp 6 armour 3 weapon_lvl 0
unit Teutonic Knights exp 1 armour 1 weapon_lvl 0
unit Teutonic Knights exp 1 armour 1 weapon_lvl 0
unit Teutonic Knights exp 1 armour 1 weapon_lvl 0
unit Longbowmen exp 1 armour 1 weapon_lvl 0
unit Longbowmen exp 1 armour 1 weapon_lvl 0
unit Longbowmen exp 1 armour 1 weapon_lvl 0
unit Order Spearmen exp 1 armour 1 weapon_lvl 0
unit Order Spearmen exp 1 armour 1 weapon_lvl 0
unit Order Spearmen exp 1 armour 1 weapon_lvl 0
end
terminate_monitor
end_monitor