command /takım [<text>] [<text>]:
permission: takım.ekle
trigger:
if arg 1 is "ekle":
if arg 2 is set: #/takım ekle [Takım isim]
set {team.%arg 2%} to location of player
add arg 2 to {teamList::*}
send "§a Takım §b%arg 2% §aEklendi" to player
stop
if arg 1 is "liste":
send "§b§l§m¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯" to player
loop {teamList::*}:
send "§c%loop-value%" to player
send "§b§l§m¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯" to player
stop
if arg 1 is"sil":
if arg 2 is set:
delete {team.%arg 2%}
remove arg 2 from {teamList::*}
send "§aTakım §b%arg 2% §aSilindi" to player
stop
if arg 1 is "gir" #/takım gir [Takım İsmi ]
if {teamList::*} is set:
teleport arg 2 to {team.%arg 2%}
add [Miktar] [Eşya ismi] to player
stop
if arg 1 is "gönder":
add player to {team.%player%::*}
if {team.%player%::*} isn't 2:
set {team.%player%::*} to random element out of {teamList::*}
set {sohbet.açik} to true
add 5 to {team.saniye}
loop 5 times:
send "§c Kalan süre §a%{team.saniye}%" to player
remove 1 from {team.saniye}
wait 1.5 seconds
send "§aOyun başladı" to player
set {sohbet.kapali} to false
on chat:
if {sohbet.kapali} is false:
if message is set:
else:
if {sohbet.açik} is true:
cancel event
send "§cBekle Oyun Başlasın daha sonra yazabilirsin" to player
on command:
if {sohbet.açik} is true:
cancel event
send "§c5 saniye Bekleyşn oyun başlasın sonra Komut girebilirsiniz" to player