I have searched all over the forum before posting this question, but I havent found the answer 
I run a multi-necro group and I am trying to determine whether a mob has on it a particular DoT (say, of example, Vampiric Curse) but only if it was cast by me, as opposed to the other necros in the group.
I got this code:
being 333 the ID of the mob.
Unfortunately, the output is always "nil" even though my DoT is indeed on the mob. What am I doing wrong?

I run a multi-necro group and I am trying to determine whether a mob has on it a particular DoT (say, of example, Vampiric Curse) but only if it was cast by me, as opposed to the other necros in the group.
I got this code:
Code:
local DoTspell = "Vampiric Curse"
mq.TLO.Spawn(333).MyBuff(DoTspell)()
being 333 the ID of the mob.
Unfortunately, the output is always "nil" even though my DoT is indeed on the mob. What am I doing wrong?


