If you want this scripted, write a script do do it, you could use a LEM as well I suppose.
Mercs doesn't support using Lesson automatically.
Edit: You could use a small user module for this, but I see zero reason why this would need to be done in the mercs script; as you don't need access to any mercs internal state/etc...