Well, commands in XSE, PKSV, PokeScript, ScriptED, etc etc, are set up like this...
The command is sound, and the parameter is 0x2, you see?
Some commands have more than one parameter...
compare LASTRESULT 0x2
Compare is the command
LASTRESULT (Or ox800D) is the first parameter
and 0x2 is the second parameter.
Now what XSE is telling you, that you don't have enough parameters on the 6th line of your script.
Post your script here, I'll point out what is wrong if you don't have it by now...