[quote=Baertram;46603]The game provides events for things like that and you need to register a callback function in your addon to this event.
https://wiki.esoui.com/Events
Thanks for the feed back but I think that would give me something other than what I need. I don't need anything to trigger based on bar swap. I need to know if I am in the middle of a bar swap. It would be part of a and/or statement
Along the lines of: "if XXX > 0 and n >= 3 and n <= 8 and.... or BAR SWAPPING" if that makes sense.
I am looking at tweaking an existing addon that is not being supported (not sure what the etiquette is on that mind you, other than not stealing the code as my own)