@Matschdock

What Nodoze said. The addon use API calls to get duration and/or true/false statement if buff exists then run code to update a macro in game that will buff the character with the spell. Its a form of AI that uses blizzard API, all within the rules.

Also for them to work you must be outside combat due to blizzard blocking updates to macros while in combat.