Keyall with Placeholder

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

Oct 29, 2023
34
2
8
24
Ich bin also kein guter Entwickler, aber ich habe mein eigenes Keyall-Skript erstellt. Können Sie mir bei der Erstellung eines benutzerdefinierten Platzhalters helfen, der anzeigt, wann der Keyall ist? Wie Keyall in 59:38 Minuten.
Thanks you
 

Attachments

  • RCkeyall.sk
    150 bytes · Views: 62
Hello, im not from germany so i used google translate to understand what you said but something like this should work
Code:
variables:
    {timer_count} = 0

command /keyall:
    permission: op
    trigger:
        execute command "ecrates key giveall emerald 1"

every 1 second:
    if {timer_count} is 0:
        execute console command "/ecrates key giveall emerald 1"
        set {timer} to {timer_count} parsed as timespan
        set {timer} to 3600
        broadcast "KEYALL"
    else:
        remove 1 from {timer_count}
        
every 5 minutes:
    if {timer_count} is 0:
        stop
    else:
        set {timer} to {timer_count} parsed as timespan
        remove 300 from {timer}
        broadcast {%{timer}% seconds until the next keyall}
it may not work because i didnt test it. your skript was a nightmare you didnt set a permission for the command and you had many indentation error.