Hi, this simple script was supposed to work as OnUpdateBuff and OnRemoveBuff callback. It should be useful when you write new script. There is a limitation to it since it works for heroes only. However, you can update it for minion and others
Usage:
require "BuffExplorer" OnUpdateBuff(function(unit,buff) --get triggered when someone gets new buff --your code here end) OnRemoveBuff(function(unit,buff)--get triggered when someone's buff is expired --your code here end)
Source: (saves as "BuffExplorer.lua" and put in Common Folder)