Now, on StackOverflow, there is a flag/close reason for these kind of questions:
Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example.
Granted we are not StackOverflow, how should we deal with these kind of questions? I'm fine with Minecraft Command questions that include code that has been supplied by the asker, but when the question does not include any code that the asker attempted to use, what should be done?