Help with heal script for PW

I lost a script and do not remember how I did it. I would like a heal amount to be X, where every 5 class levels is X. Then X * heal skill.

Would would nHeal = SkillLevelHeal + CasterLevel / 5 or something work?

Please help!

Assuming integers throughout, that will work.

As it stands, the bonus is 0 for levels 1-4, 1 for levels 5-9 and so on.