Help with a simple morality script (evil, neutral, good)

I found this simple script that has everything I need. It adds a very basic morality system: http://pastebin.com/raw.php?i=z6VnvD5k

However, I would like to make it even simpler, so it works like this:

if Morality between 0-79: Evil (red bar)

if Morality between 80-120: Neutral (gray bar)

if Morality between 120-200 Good (green bar)

I tried to adjust the script settings in many ways, but there is always an issue. Either the bar shows a different color, or it just doesn't show the correct Morality. Now the problem is that my programming knowledge is very limited and I just can't seem to find a way to make it work.

I would appreciate it if someone with programming skills could help me with this.

Thank you in advance.

PS: I tried contacting the author of the script a week ago, but he hasn't replied.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


at OP's request

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-simple-morality-script-evil-neutral-good.44628/