Ruben if I follow the manual then you have an invalid arg as the string
"waist" is a constant in both lines of code, that is wrong.
If I fallow ent_bonename SETS' then name into not reads the string arg. So the actual bone-name should be saved into our string pointer. Then you should be able to use it in the ent_bonemove. Please try ...