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!


    You can always check out our Wiki for downloads and any other information about Skript!

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

Solved Banwave | Not Help

Discussion in 'Skript' started by H3A, Sep 13, 2019.

Thread Status:
Not open for further replies.
  1. H3A

    H3A Member

    Aug 19, 2019
    Likes Received:
    Code (Text):
    1. command /banwave [<text>] [<player>]:
    2.     trigger:
    3.         if arg-1 is not set:
    4.             send "&cUsage: /banwave list"
    5.         if arg-1 is "list":
    6.             send "&cCommands:%nl%&f/banwave list%nl%/banwave add%nl%/banwave remove%nl%/banwave start"
    7.         if arg-1 is "add":
    8.             if arg-2 is set:
    9.                 add arg-2's uuid to {bw::*}
    10.                 send "&cSucessfully added %arg-2%&c to the banwave."
    11.         if arg-1 is "remove":
    12.             if arg-2 is set:
    13.                 if {bw::*} contains "%arg-2's uuid%":
    14.                     remove arg-2's uuid from {bw::*}
    15.         if arg-1 is "start":
    16.             loop {bw::*} 1000 times:
    17.                 wait 10 ticks
    18.                 remove loop-value from {bw::*}
    19.                 broadcast "&e%loop-value% &7has been banned!"
    20.                 ban loop-value due to "&cYou have been banned!"
    21.                 kick loop-value due to "&cYou have been banned!"
    22.                 send "&aBanwave Complete!" to player
    ^ If hastebin is down.
    #1 H3A, Sep 14, 2019
    Last edited: Sep 16, 2019
    • Like Like x 1
Thread Status:
Not open for further replies.