As far as I know you need to script it like this:
function cXXXXXXXX.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
That would be the pendulum activation.
Now, you would need to give it effects depending on the location:
LOCATION_SZONE for the pendulum effect
LOCATION_MZONE for the monster effect