Custom Block List Error

When I try to use lists inside a custom block it errors and says, “Expecting a list, but getting a number.” I have declared the lists properly, the only problem at least to me is that the block does not see the variables as lists.

Could you show us your block? You can right click on the script and click “script pic” to download a picture of the block. People can also drag and drop this image back into snap to get your script automatically without having to recreate it.

you have to set [a variable of your choice V] to (list @> first, because when you create a variable it is set to 0 automatically at the beginning.

I figured it out. I had custom blocks that I forgot about using the same list, but before I turned it into a list. Thank you for the help though.