JS script: change the Programing on a item

Daniel Sebastiao 7 years ago in iRidium Script updated by Aleksandr Romanov (CTO) 7 years ago 2

Can i add or change the programing on a item via a JS script?

I think you can use

IR.AddListener and IR.RemoveListener

when you want to change just remove old listener and add a new one