Each sprite has its own unique management number, and it'll be available after you call SPSET with its management number. If you call sprite related command (e.g. SPOFS) with management number before SPSET, Illegal function call will occur. But you say syntax error occured. I guess you misused SPOFS command.
1そうだね 未プレイ