Indentation Error: Expected 5 tab, but found 20 spaces. HELP!

  • 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.

BlackVen4m

New Member
Jul 19, 2021
7
0
1
27
Code:
command /tempban [<Offlineplayer>] [<Text>] [<Text>]:
    trigger:
        if player has permission "{tempban.blockmcadmin}":
            if arg 1 is set:
                if arg 2 is set:
                    set {banned.%arg 1%} to true
                    set {ban.time.%arg 1%} to now
                    set {ban.reason.%arg 1%} to argument-3
                    set {ban.expire.%arg 1%} to argument-2
                    set {ban.bannedby.%arg 1%} to player
                    set {BanIP.%arg 1%} to "False"
                    kick arg 1 due to "&7Banned for &c%arg 2% &7by &c%player%"
                    ban arg 1 due to "&7Banned for &c%arg 2% &7by &c%player%"
                    message "&7[&cBlockMC Admin&7] &a&l====== Kitiltás ======" to all players
                    message "&7[&cBlockMC Admin&7] &6%arg-1% &eki lett tilva &6%player% &eáltal." to all players
                    message "&7[&cBlockMC Admin&7] &eIndok: &6%arg-3%" to all players
                    message "&7[&cBlockMC Admin&7] &eIdő: &6%arg-2%" to all players
                else:
                    send "&7[&cBlockMC Admin&7] &a/Ban <Játékos> <Idő> <Indok>"
            else:
                send "&7[&cBlockMC Admin&7] &a/Ban <Játékos> <Idő> <Indok>"
        else:
            send "&7[&cBlockMC Admin&7] &aNincs jogusultságod ehez!"

When I reload the skript gives me 3 errors and I don't know how to fix it: (Sorry for the language of the messages, It means you were banned by %player%)


Indentation Error: Expected 5 tab, but found 20 spaces
(admin.sk, line 132:
message "&7[&cBlockMC Admin&7] &6%arg-1% &eki lett tilva &6%player% &eáltal." to all players

Indentation Error: Expected 5 tab, but found 20 spaces
(admin.sk, line 133:
message "&7[&cBlockMC Admin&7] &6%arg-1% &eki lett tilva &6%player% &eáltal." to all players

Indentation Error: Expected 5 tab, but found 20 spaces
(admin.sk, line 134:
message "&7[&cBlockMC Admin&7] &6%arg-1% &eki lett tilva &6%player% &eáltal." to all players
 
Status
Not open for further replies.