never used print in Hscript, but from a quick test it looks like the second argument just expect numbers
so you need to use the first argument for string like this:
{
string test = chs("../UV_Attrib");
print( test, 0);
return 0;
}
or if you want to join with other text
{
string test = chs("../UV_Attrib");
print( strcat("test: ", test ), 0);
return 0;
}
NOTE: since it seems like you are putting it in switch/input integer parameter so you don't need backticks at all (and if needed, when mixed with string characters in string parm, they would be around the whole expression)