IK and Wire Parameters for a robot arm :)

Hi all.

I am completely new to Script Spot and very green when it comes to 3ds max script.
I have been working on a robot that has all its joints driven by Attribute Holder with Wire Parameters. It has basic dummies and some IK bones.

What I would like to achieve is a situation where I can switch between driving my robot from the spinners in the Attribute Holders to picking up the hand of the robot and moving it around and all the joints follow. Also it would be excellent if the spinners in the Attribute Holders would automatically change when driving the robot arm by the hand.

I have tried looking for tutorials, and I believe it can be done, but have not found anything definitive.

Could anyone help as this is a work job?


P.S. I am a layman at script