def METHOD_NAME(self,state,id,events):        
    global boolCurrentValue
    #~ PtDebugPrint("tldnSlavePrisonPanels:OnNotify  state=%f id=%d events=" % (state,id),events)
    if not state:
        return
    ageSDL = PtGetAgeSDL()
    if id == actTrigger.id:
        boolCurrentValue = ageSDL[stringVarName.value][0]
        #~ PtDebugPrint("SDL variable ", stringVarName.value," = ",  boolCurrentValue)
        if boolCurrentValue ==1 :
            respLeverUp.run(self.key,events=events)
        elif boolCurrentValue == 0:
            respLeverDown.run(self.key,events=events)
    elif id == respLeverUp.id and self.sceneobject.isLocallyOwned():
        PtDebugPrint("tldnSlavePrisonPanels: Lever now completely up. Updating SDL", stringVarName.value, " to 0")
        ageSDL[stringVarName.value] = (0,)
    elif id == respLeverDown.id and self.sceneobject.isLocallyOwned():
        PtDebugPrint("tldnSlavePrisonPanels: Lever now completely down. Updating SDL", stringVarName.value," to 1")
        ageSDL[stringVarName.value] = (1,)