Don't quite follow ... what do you mean "-15 to +15m" in front of the player?
Well anyway .... to check on the distance you need the command distance. Which you probably know anyway.
If you care that the loon is in front of the player that's a little more difficult.
1) You have to define the moment very carefully. The player can turn a 360 in a couple of seconds so when the loon is in front of the player is very important.
2) How to discover which way the player is facing? This is the easy part, just use the command getDir. You don't need a tute, it does exactly what it says on the tin. It returns a number between 0 and 360, which is the bearing in degrees that the object is facing. North is 0 (or 360, they are the same), East is 90, South is 180, West is 270, etc..
3) What tolerance will you allow? 5 degrees? 10 degrees either side? Doesn't really matter, but you will have to decide.
4) The final part is to discover the bearing from the player to the loon. Once you know it you have to compare it to the bearing the player is facing and also add in your distance and tolerance. But how do you discover the bearing?
The answer my friend is trigonometry. If you are not familar with this simple and useful branch of mathematics then a little homework will be required. I'm not going to give the exact answer here because it has already been well covered by Sui (I think) who is our resident expert on this question, which comes up every few months. Have a good search of the forums, it's there. I seem to remember that there is some trig at the end of the unofficial command ref as well.
Having said all that, you should also check out the command knowsabout which might solve the problem in a more elegant manner.