Hi there.
TheComet, we can guess material with "name$= limb texture name(1,lm)"
Attached example code.
autocam off
sync on
set camera range 1,50000
load object "201.X",1
make object sphere 2,500:set object emissive 2,rgb(255,0,0):ghost object on 2
position camera -1800,1300,-1800
point camera 0,0,0
lm=0
do
if spacekey() then lm=lm+1:sleep 300
if limb exist(1,lm)
name$= limb texture name(1,lm)
morro$=limb name$(1,lm)
endif
set cursor 5,5
if limb exist(1,lm)
print "Numero limb ",lm , " ",name$, " ",morro$
position object 2,limb position x(1,lm),limb position y(1,lm)+200,limb position z(1,lm)
else
lm=0
endif
control camera using arrowkeys 0,1,1
a#=wrapvalue(a#+mousemovex()/2)
cam#=wrapvalue(cam#+mousemovey()/2)
rotate camera cam#,a#,0
sync
loop
Cheers.