Yeah, I was trying to place it inside a spell, something like addEvent(doKillPlayer, 2500)
And it was just giving the error, but just changed my distro now, upgraded to Mystic Spirit 0.2.1.5 (9.6 one).
Hope it's better now, the 0.4 rev 3777 had several bugs in functions and shit like that...