Hi, I'm working on my first addon. Its a profession tracker, to show where trainers are, herb/ore tracking status, what veins + herbs I can or can't harvest and what skill I need to harvest them, etc etc.
Anyway, as soon as I login to the world, I toggle the addon via slash command and it correctly shows skill levels and tracking status etc, but if I gain skills, or change from herb to ore tracking, it doesn't update.
How do I keep the data up to date? I basically want to refresh my addon every second. How would I go about doing this?