Solved Advanced skript challenge

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

Devrse

Member
Dec 28, 2019
13
0
0
19
Make the most advanced skript in 1 minute
Code:
command /advanced:
  aliases: a
  trigger:
       message “you’re advanced”
 
Code:
command advance [<player>] [<text>]:
    permission: this.skript.has.to.be.advanced.or.complicated.so.im.making.a.obnoxiously.long.permission
    permission message: &cHonk! You do not have permission to execute the action of bisectors meeting the singularity to obtain enough internal energy to run the radar.
    aliases: /yes, /nerd, /abc, /advanced, /advancedcommandyay
    executable by: players and console
    trigger:
        if arg-2 is not set:
            if arg-1 is not set:
                set {advanced.%player's uuid%} to true
            else:
                set {advanced.%arg-player's uuid%} to true
        else:
            make player say "&c&lTHis command is advanced"
            set {yes.%player's uuid%} to true
on chat:
    if {advance.%player's uuid%} is true:
        if {yes.%player's uuid%} is true:
            make player say "Im a yeet"
        else:
            send "&cYou are stupid"
    else:
        if {yes.%player's uuid%} is true:
            send "&cdumb in the foot"
        else:
            send "&cno"
 
  • Like
Reactions: Devrse
Code:
options:
    amountmsg: "You can only specify amount between 1 and 64."

command /advance [<text>] [<player>] [<integer>] [<item type>]:
    usage: /advance <additional message> <player> <0-64> <item>
    description: This command is giving items.
    permission: advance.permission
    permission message: You cannot do this LMAO
    executable by: player and console
    aliases: /adv, /av
    cooldown: 1 hour
    cooldown message: wait a hour :)
    cooldown bypass: advance.permission.bypass
    cooldown storage: {advance.cooldown::%player's uuid%}
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 2 is online:
                    if arg 3 is set:
                        if arg 3 > 0:
                            if arg 3 <= 64:
                                if arg 4 is set:
                                    give integer-argument of arg-4 to player-argument
                                    send "%colored arg-1%" to player-argument
                                else:
                                    send "Specify an item"
                            else:
                                send {@amountmsg}
                        else:
                            send {@amountmsg}
                    else:
                        send "Specify amount of an item"
                else:
                    send "Player you specified is offline."
            else:
                send "Specify the player"
        else:
            send "Specify your message"
 
Status
Not open for further replies.