Well this variable is used without having been declared,
so $DYE_White is not declared,
that is to say that you are missing somewhere:
Global $DYE_White = 12
I advise you to read this thread and join the discord if you want to learn more about creating a bot with gwa2: