error admin login

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

AnakTentara

Member
May 4, 2021
1
0
1
23
Please Help :emoji_frowning:

Code:
command /alogin [<text>]:
    aliases: /al
    permission: admin.login
    trigger:
        if {al.%palyer%} is not set:
            if arg 1 is "2020":
            set {al.%player%} to true
            send "&3[&5GI &4Login&3] &4>> &aLogin Succsess :D"
        else:
            send "&3[&5GI &4Login&3] &4>> &cWrong password :("
on command:
    if {al.%player%} is not set:
        if command is not "al" or "alogin":
            cancel event
            send "&3[&5GI &4Login&3] &4>> Login first :/"

on chat:
    if {al.%player%} is not set:
            cancel event
            send "&3[&5GI &4Login&3] &4>> Login first :/"

on any movement:
    if {al.%player%} is not set:
            cancel event
on join:
    delete {al.%player%}

Error:

skript reload s.sk
[22:08:59 INFO]: [Skript] Reloading s.sk...
[22:08:59 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (s.sk, line 6: if arg 1 is "2020":')
[22:08:59 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (s.sk, line 19: cancel event')
[22:08:59 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (s.sk, line 20: send "&3[&5GI &4Login&3] &4>> Login first :/"')

[22:08:59 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (s.sk, line 18: if {al.%player%} is not set:')
[22:08:59 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (s.sk, line 24: cancel event')
[22:08:59 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (s.sk, line 23: if {al.%player%} is not set:')
[22:08:59 ERROR]: Can't understand this expression: palyer (s.sk, line 5: if {al.%palyer%} is not set:')
[22:08:59 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (s.sk, line 9: else:')
[22:08:59 ERROR]: The function 'hidenametag' does not exist. (s.sk, line 31: hidenametag(player)')
[22:08:59 ERROR]: The function 'shownametag' does not exist. (s.sk, line 37: shownametag(player)')

[22:08:59 INFO]: [Skript] Encountered 7 errors while reloading s.sk!
 
Last edited: