Well, this is what I've so far got:
##################################################
# Uboote in Brest
##################################################
event = {
id = 800001
random = no
country = GER
persistent = yes
Trigger = {
control = { province = 32 data = GER }
random = 1
}
date = { day = 21 month = march year = 1941 }
offset = 1
deathdate = { day = 30 month = december year = 1947 }
name = "Uboote in Brest"
desc = "a 1% chance each day that 2 u-boat flotillas will appear in Brest"
style = 0
action_a = {
name = "OK"
command = { type = add_corps which = "Unterseebootsflottille Brest" value = naval when = 389 where = 32 } #Donitz commanding, change WHEN to leader id of preference
command = { type = add_division which = "101. Unterseebootsflotte" value = submarine when = 3 } #type ix
command = { type = add_division which = "102. Unterseebootsflotte" value = submarine when = 3 } #type ix
}
}
##################################################
# Uboote in Bordeaux
##################################################
event = {
id = 800002
random = no
country = GER
persistent = yes
Trigger = {
control = { province = 325 data = GER }
random = 1
}
date = { day = 28 month = march year = 1941 }
offset = 1
deathdate = { day = 30 month = december year = 1947 }
name = "Uboote in Bordeaux"
desc = "a 1% chance each day that 2 u-boat flotillas will appear in Bordeaux"
style = 0
action_a = {
name = "OK"
command = { type = add_corps which = "Unterseebootsflottille Bordeaux" value = naval when = 409 where = 325 } #Raeder commanding, change WHEN to leader id of preference
command = { type = add_division which = "106. Unterseebootsflotte" value = submarine when = 3 } #type ix
command = { type = add_division which = "107. Unterseebootsflotte" value = submarine when = 3 } #type ix
}
}
Loaded an old save game, and watched. No effect, quit game, and then as I exited HoI2 it crashed, first time for me since July 2005

.
Restarted HoI2 and it crashed, but started at second attempt
Began new game in 1941 Scenario and soon new uboats were popping up in Brest and Bordeaux

The AI can handle changing the commanders when he gets assigned to the next uboats that pop up. The uboats left Brest on missions, everything fine, and the event repeats.
But in the 1941 Scenario Brest is not a naval base, so the uboats that pop up there just stay there losing org. So need a way to check if Brest is a naval base, and if not then start another event to put uboats into Cholet province #59 if it is a naval base. Also would be nice if the event did not have a message box associated with it, so human does not know...but how? I will also look for lower ranking German seawolf officiers.
Is there a way to get this to run in an exsisting game?
http://hoi2.nsen.ch/wiki/index.php/Modding_events
is working again but I have no more time tonight.
Thanks for your help! So many questions! But it works

not ideally but it works
quintelosky I have downloaded (Descargas) your program, will try it out another day.
Cheers.