Hi!
The F1 league is a very lofty goal-I'd aim for F3 first. This gets you a good base bot to work on, as you can't use tricks, so the system behind the bot has to be very robust. Next, try getting your defenses sorted out in F2, then you can go for F1 with some dramatic trick
EDIT=> I see the first bit of your code is very similar to Commander Keen's Oculus Infinitus-you could have a look at OCULUS and OCULUS II in the gene depository-it's a store command that sets the focus eye to the closest target, then uses *.eyef to read it as if it were, for example, *.eye5 . You can then read data from off-side (it's now the focus eye, so can be read as though it were eye5) to decide whether to turn towards that bot or not by using *.refxpos *.refypos angle .setaim store. This prevens your bots from turning into conspecs.