anyone know how to create a script so that when I have Fel armor buff, my panel colour changes to green, and when I have demon armor it changes colour to purple?

scripting for kgpanels is the most confusing thing in the world