def METHOD_NAME(self,state,id,events):
    "Activated... "
    global LocalAvatar
    if state and id == Activate.id and PtFindAvatar(events) == PtGetLocalAvatar():
        LocalAvatar = PtFindAvatar(events)
        self.IStartDialog()           