Updated this to actually work with multiple levels.
rofl at this line :\
//! i buffs[cur] = getvarobject("BNva", "buffs", "BUFFS_" .. name .. "_DUMMY", false)
to
//! i buffs[cur] = getvarobject("BNva", "buffs", "BUFFS_" .. name .. curstr .. "_DUMMY", false)
Notice the lack of a curstr in the first line ; P. It just remade the same buff over and over again >.>, rofl rofl ;D.
Lucky for everyone that I'm probably the only one using this script atm. If you have installed AdvEvent into your map then it sucks to be you... you gotta uninstall every single JASS script in your map running off of get var object and reinstall (because I screwed up the name).