command /destek [<player>] [<text>]:
trigger:
if arg-1 is not set:
send "&e&oBir oyuncu adı girmelisin"
else:
if arg-2 is not set:
send "&e&oBir sebep gir!"
else:
if {uyardi.%player%.%arg 1%} is true:
send "&e&oBu oyuncuyu zaten uyardınız!"
else:
set {uyardi.%player%.%arg 1%} to true
set {uyarilist::%arg-1%} to arg-1
set {orcosebep.%arg-1%} to arg-2
send "&e&o%arg-1% adlı oyuncuyu şikayet ettin &b&oSebep &a&o%arg-2%"
wait 1 day
delete {uyarilist::%arg-1%}
delete {uyardi.%player%.%arg 1%}
command /dbilgi [<player>]:
permission: op.orco
trigger:
if arg-1 is not set:
send "&e&oBir oyuncu adı girmelisin"
if arg-1 is set:
if {uyarilist::%arg-1%} is true:
send "&a&oOyuncu &b&o%arg-1%"
send "&d&oSebep"
send "&e&o%{orcosebep.%arg-1%}%"
else:
send "&a&oBu oyuncu uyarılmamış!"
command /dmenu:
permission: op.orco
trigger:
set {_orcoconl} to 0
set {_orcocezalilist} to 0
loop {uyarilist::*}:
add 1 to {_orcoconl}
wait 3 tick
open chest with 6 rows named "&b&o%{_orcoconl}% &e&oKişi uyarılmış" to player
loop {uyarilist::*}:
format slot {_orcocezalilist} of player with loop-value's skull named "&a&o%loop-value%" with lore "&e&oOyuncunun neden||&c&oŞikayet edildiğini||&a&oGörmek için||&b&oTıkla!" to close then run [execute player command "/dbilgi %loop-value%"]
add 1 to {_orcocezalilist}