1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

error admin login

Discussion in 'General' started by AnakTentara, May 4, 2021.

  1. AnakTentara

    AnakTentara Member

    May 4, 2021
    Likes Received:
    Please Help :emoji_frowning:

    Code (Text):
    1. command /alogin [<text>]:
    2.     aliases: /al
    3.     permission: admin.login
    4.     trigger:
    5.         if {al.%palyer%} is not set:
    6.             if arg 1 is "2020":
    7.             set {al.%player%} to true
    8.             send "&3[&5GI &4Login&3] &4>> &aLogin Succsess :D"
    9.         else:
    10.             send "&3[&5GI &4Login&3] &4>> &cWrong password :("
    11. on command:
    12.     if {al.%player%} is not set:
    13.         if command is not "al" or "alogin":
    14.             cancel event
    15.             send "&3[&5GI &4Login&3] &4>> Login first :/"
    17. on chat:
    18.     if {al.%player%} is not set:
    19.             cancel event
    20.             send "&3[&5GI &4Login&3] &4>> Login first :/"
    22. on any movement:
    23.     if {al.%player%} is not set:
    24.             cancel event
    25. on join:
    26.     delete {al.%player%}

    #1 AnakTentara, May 4, 2021
    Last edited: May 4, 2021

Share This Page