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

Sry. but the code looks for me horroible. i there is maybe simpler and easier to read code.

code_language.skript:
command /givebooster [<player>]:
    trigger:
        if arg-1 is set:
           set {_p} to arg-1
        else:
            set {_p} to player
        add 1 to {booster.serveur::%uuid of {_p}%}#i have create here list. Thanks me later. This is very usefull!
        send "{@PrefixBooster} &7Tu as &f%{booster.serveur::%uuid of {_p}%}% &7Booster !" to {_p}
        if {_p} is not player:
            send "{@PrefixBooster} &7Ce joueur possède &f%{booster.serveur::%uuid of {_p}%}% &7Booster !" to player

command /delboster:
    trigger:
        delete {Booster.Time::*}
        delete {Booster.Tips::*}
        delete {Booster.Others::*}

command /booster [<text>]:
    trigger:
        if arg-1 is "money":
            if {booster.serveur::%uuid of player%} is more than or equal to 1:
                if {Booster.Time::*} is not set:
                    remove 1 from {booster.serveur::%uuid of player%}
                    broadcast " "
                    broadcast " "
                    broadcast "&f&k::&r &aUn &6&lBooster &aa été activé &f&k::"
                    broadcast " "
                    loop all players:
                        execute console command "tellraw %loop-player% [{""text"":"""",""extra"":[{""text"":""&f• &7&nReçois des gains en cliquant ici !"",""clickEvent"":{""action"":""run_command"",""value"":""/tip %arg 1%""},""hoverEvent"":{""action"":""show_text"",""value"":""&7Remercier &f%{booster.serveur.%arg 1%.joueur}%""}}]}]"
                    broadcast " "
                    broadcast " "
                    set {Booster.Time::Minute} to 60
                    set {Booster.Others::By} to player
                    while {Booster.Time::Minute} is not 0:
                        wait a minute
                        subtract 1 from {Booster.Time::Minute}
                     send "&a[&d&lPN&R&A] &6Money booster &7has run out" to players
                     delete {Booster.Time::*}
                     delete {Booster.Tips::*}
                     delete {Booster.Others::*}

command /tips:
    trigger:
        if {Booster.Others::by} is set:
            if {Booster.Tips::%player%} is not set:
                 set {Booster.Tips::%player%} to true
                 execute console command "eco give %{Booster.Others::by}% 100"
                 message "&6Looks like someone likes you! here is 100$!" to {Booster.Others::by}

While coding i understand what your problem...

You did at /tips "%arg-1%". But %arg-1% is as "money" so you need put variables instaead %arg-1%
 
Sry. but the code looks for me horroible. i there is maybe simpler and easier to read code.

code_language.skript:
command /givebooster [<player>]:
    trigger:
        if arg-1 is set:
           set {_p} to arg-1
        else:
            set {_p} to player
        add 1 to {booster.serveur::%uuid of {_p}%}#i have create here list. Thanks me later. This is very usefull!
        send "{@PrefixBooster} &7Tu as &f%{booster.serveur::%uuid of {_p}%}% &7Booster !" to {_p}
        if {_p} is not player:
            send "{@PrefixBooster} &7Ce joueur possède &f%{booster.serveur::%uuid of {_p}%}% &7Booster !" to player

command /delboster:
    trigger:
        delete {Booster.Time::*}
        delete {Booster.Tips::*}
        delete {Booster.Others::*}

command /booster [<text>]:
    trigger:
        if arg-1 is "money":
            if {booster.serveur::%uuid of player%} is more than or equal to 1:
                if {Booster.Time::*} is not set:
                    remove 1 from {booster.serveur::%uuid of player%}
                    broadcast " "
                    broadcast " "
                    broadcast "&f&k::&r &aUn &6&lBooster &aa été activé &f&k::"
                    broadcast " "
                    loop all players:
                        execute console command "tellraw %loop-player% [{""text"":"""",""extra"":[{""text"":""&f• &7&nReçois des gains en cliquant ici !"",""clickEvent"":{""action"":""run_command"",""value"":""/tip %arg 1%""},""hoverEvent"":{""action"":""show_text"",""value"":""&7Remercier &f%{booster.serveur.%arg 1%.joueur}%""}}]}]"
                    broadcast " "
                    broadcast " "
                    set {Booster.Time::Minute} to 60
                    set {Booster.Others::By} to player
                    while {Booster.Time::Minute} is not 0:
                        wait a minute
                        subtract 1 from {Booster.Time::Minute}
                     send "&a[&d&lPN&R&A] &6Money booster &7has run out" to players
                     delete {Booster.Time::*}
                     delete {Booster.Tips::*}
                     delete {Booster.Others::*}

command /tips:
    trigger:
        if {Booster.Others::by} is set:
            if {Booster.Tips::%player%} is not set:
                 set {Booster.Tips::%player%} to true
                 execute console command "eco give %{Booster.Others::by}% 100"
                 message "&6Looks like someone likes you! here is 100$!" to {Booster.Others::by}

While coding i understand what your problem...

You did at /tips "%arg-1%". But %arg-1% is as "money" so you need put variables instaead %arg-1%
So can u fix my code or say me what 2 change?
Thanka
 
at least he is trying unlike you asking for help with every single skript, your name doesn't suit you
OMG IPARIS IM A BIG FAN!!!! LOVE YOUR SKRIPTS!!! THERE AWESOME YOUR THE REASON I KNOW HOW TO MAKE COMPLEX PLUGINS!!!!!!!!!!!!!!!! LOVE YOUR WORK!!!!!! (agreed)