hello all i want to create a script to parent muti object in the textscrolllist
i have pCube1 ,pCube2,pCube3
iwant to make
pCube2 parentConstraint to pCube1
pCube3 parentConstraint to pCube1
global proc pcCommand ()
{string $pcChilditem[] = textScrollList -q -ai childTSL;
string $pcParentitem = textScrollList -q -ai parentTSL;
parentConstraint $pcParentitem $pcChilditem;
}
but after i run this script it give me this kind of error