Can't use CALL:X in print template not working

So in my print template I have this
{CALL:ps.pullStuff({ENTITY NAME})}

I have my script here:

However in my print template it seems this script is never being called, why would this be?


Edit just to test I decided to make a new script called test which looks like

In my printer template I added the CALL to this in like this

but again it did not show up

Try {CALL:ps.pullStuff('{ENTITY NAME}')}

You need to use single quotes when feeding strings into the function.

2 Likes

Additionally your second test function is not valid to begin with so it would have never worked regardless. It should be:

function test(){
return "test";
}
2 Likes