Solved "Expected 16 spaces but found 4 tabs" and vice versa

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
I recommend using SublimeText, its what a lot of people use.
I don't think it has FTP support, but I don't know of anyone who does that.

As for the indentation issue, the only way to fix that is to indent properly. I don't know what NP++ has for indentation options, but in sublime it gives you options to use tabs or spaces.
You need to use either tabs or spaces within one trigger, not a mixture of both.
 
  • Like
Reactions: Bonnie20402
Hello.
This has sometimes happened to me too. I always use tabs [4 spaces] obvously, but sometimes when you copy and paste code from the internet, it pastes as spaces. So on the line, backspace on the spaces, and replaced them with tabs.
Hope this helps, if not, don't hesitate to DM me.
 
  • Like
Reactions: Bonnie20402
Status
Not open for further replies.