https://tinyurl.com/banwaveskriptfixed
^ If hastebin is down.
Code:
command /banwave [<text>] [<player>]:
trigger:
if arg-1 is not set:
send "&cUsage: /banwave list"
if arg-1 is "list":
send "&cCommands:%nl%&f/banwave list%nl%/banwave add%nl%/banwave remove%nl%/banwave start"
if arg-1 is "add":
if arg-2 is set:
add arg-2's uuid to {bw::*}
send "&cSucessfully added %arg-2%&c to the banwave."
if arg-1 is "remove":
if arg-2 is set:
if {bw::*} contains "%arg-2's uuid%":
remove arg-2's uuid from {bw::*}
if arg-1 is "start":
loop {bw::*} 1000 times:
wait 10 ticks
remove loop-value from {bw::*}
broadcast "&e%loop-value% &7has been banned!"
ban loop-value due to "&cYou have been banned!"
kick loop-value due to "&cYou have been banned!"
send "&aBanwave Complete!" to player
Last edited: