private function Init takes nothing returns nothing // Your basic InitTrig for a spell
local trigger t = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(t,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(t,Condition(function Conditions))
call TriggerAddAction(t,function Actions)
// then you would do something like this:
set SPELL_ID[0] = 039;A100039;
set SPELL_ID[1] = 039;A101039;
// and so on...
endfunction