BattleDragon14
Elmas Madencisi
- En iyi cevaplar
- 0
Tam kodu atıyorum, çünkü bittiğinde forumda paylaşacağım zaten. 
"set arg-3 to {%arg-2%.g}" kısmı nedense hep hata veriyor. Acaba nasıl düzeltebilirim?
"set arg-3 to {%arg-2%.g}" kısmı nedense hep hata veriyor. Acaba nasıl düzeltebilirim?
Kod:
command /yetkili [<text>] [<text>>] [<text>]:
permission: yetkili.admin
permission message: &cYetkiniz bulunmadığı için bunu yapamazsınız.
aliases: /y, /yetk,
trigger:
if arg-1 isn't set:
if arg-2 isn't set:
if arg-3 isn't set:
send "&e/y ekle <isim> <unvan>"
send "&e/k sil <isim>"
if arg-1 is "ekle":
if arg-2 is set:
if arg 3 is set:
set arg-3 to {%arg 2%.g}
add arg-2 to {yetkililer::*}
send "&a%arg-2%&f|&e%arg-3% &bekibe eklendi."
if arg-1 is "sil":
if arg-2 is set:
if arg-3 isn't set:
if arg-2 is {yetkililer::*}:
remove arg-2 from {yetkililer::*}
delete {%arg-2%.g}
send "&a%arg-2% &badlı kişi ekipten çıkarıldı."
command /ekip:
trigger:
open chest with 1 rows named "&4Yönetici Kadromuz" to player
loop {yetkililer::*}:
add 1 to {_s}
format slot {_s}-1 of player with player head named "&b%loop-value%" with lore "&6Unvan&2: &9%{%loop-value%.g}%" to close