Something like this script should do what you are looking for:
import RLPy
RLPy.RGlobal.Stop()
print("Get Rope Object")
avatar = RLPy.RScene.GetSelectedObjects()[0]
print("Get Bones")
motion_bones = avatar.GetSkeletonComponent().GetMotionBones()
print("Create clip")
clip = avatar.GetSkeletonComponent().AddClip(RLPy.RGlobal.GetTime())
frame = 0
bone = bone[0]
clip.GetControl("Layer", bone).GetDataBlock().GetControl("Rotation/RotationX").GetValues(RLPy.RTime(frame/60*1000, RLPy.kMilliseconds), rotX)
clip.GetControl("Layer", bone).GetDataBlock().GetControl("Rotation/RotationY").GetValues(RLPy.RTime(frame/60*1000, RLPy.kMilliseconds), rotY)
clip.GetControl("Layer", bone).GetDataBlock().GetControl("Rotation/RotationZ").GetValues(RLPy.RTime(frame/60*1000, RLPy.kMilliseconds), rotZ)
bone = bone[1]
clip.GetControl("Layer", bone).GetDataBlock().GetControl("Rotation/RotationX").SetValue(RLPy.RTime(frame/60*1000, RLPy.kMilliseconds), rotX)
clip.GetControl("Layer", bone).GetDataBlock().GetControl("Rotation/RotationY").SetValue(RLPy.RTime(frame/60*1000, RLPy.kMilliseconds), rotY)
clip.GetControl("Layer", bone).GetDataBlock().GetControl("Rotation/RotationZ").SetValue(RLPy.RTime(frame/60*1000, RLPy.kMilliseconds), rotZ)
You may have to fine tune it because I did not get a chance to try it but it should give you a rough idea of how the script should go.
"We often compare ourselves to the U.S. and often they come out the best, but they only have the right to bear arms while we have the right to bare breasts"
Bowser and Blue, Busting The Breast