I wanted to do this:

Code:
function onObjectSpawn(obj)
    if obj.name == "Custom_Token_Stack" then
        local my_name = obj:getObjects()[1].nickname
        obj:setName(my_name)
    end
end
It's a script which would set the new stack to be named the same as the first object in its stack.
The game promptly told me that this wasn't supported. It would be helpful if you added this! Thanks.