Probably, though the conditions are still odd. The way it works now, the bot would fire nrg out only after[/ the conspec it saw is no longer visible.
I would change it to something like:
' Medic Gene
cond
*.eye5 0 >
*.refeye *.myeye =
*.nrg 25000 >
start
-2 .shoot store
*.refvelup .up store
stop