Shader Errors Strumpy Shader Editor

I’m having a problem creating a shader in the strumpy shader editor. I want to create a shader that has a mask for the reflection and specular and also a fresnel falloff for the reflection. But when I create the shader it comes up with errors.

When I remove the cubemap and replace it with just a colour it works fine. Or I can replace the diffuse with just a colour and it will show the reflection and specular. I can also replace all the specular maps with the diffuse map and it works.

Is it even possible to create a shader that does this or is there something wrong with the code that strumpy makes?

picture of graph (The problem area is in blue)

picture of errors

I solved the problem. I just used the alpha channel of the diffuse map for the specular level. It’s a good technique to use if you just want a grey scale image.

Any chance you could post an image with the final Shader?
I’m trying to learn a bit about this and I could really use som examples.

Thanks.