Here is a thread you can look at. You can use the sql file in the script as an example.
When it comes down to it, you add an action id to the monster you want to give autoeps to in cq_monstertype. In that action you give a certain amount of eps. Restart your server and your done.