Thanks, that worked.
But there is still a problem in that the lever does not move.
With no script applied, the lever will move back and forwards (it is the lever you get for opening gates in dungeons).
Activate should make the lever move shouldn't it?
Or do I need to call an animation of some kind?
Not sure but it might require calling the animation group (ie. forward, backward, open, or close) - Haven't looked at the switch lately - Do you know where the switch is used in game so that you can see if they place a script on it to call the animation when activated when it is used ? you might need to add another line to your script to call the animation depending on what the animation loop is called in the NIF.