[SOLVED] Use the level of an enchantment to run different functions

I would like to run a different function based on the level of a custom enchantment I have, is this possible?

Continue to help post