Eh, he uses a resource called Trigger, now. To be honest, the event thing should just be TriggerRegisterVariableEvent. For the DamageEvent GUI/vJass hybrid I'm developing now, I made this function:
function CreateDamageTrigger takes string variable, real value, code run returns trigger
set tempTrig = CreateTrigger()
call TriggerRegisterVariableEvent(tempTrig, variable, EQUAL, value)
call TriggerAddCondition(tempTrig, Filter(run))
return tempTrig
endfunction
Straightforward, fast, and gives you access to the trigger easily.