33ismet99
Zombi Katili
- En iyi cevaplar
- 3
Arkadaşlar ilk skriptimi yazdım. Ancak büyük bir ihtimal tablarda hata yaptım. bilen birisi bi bakabilirmi acaba ?
Kod:
options:
prefix: &8[&6NP&8]
command /np [<text>] [<player>] [<text>]
trigger:
if arg 1 is not set:
send "{@prefix &c/np yardim"
stop
if arg 1 is "ver":
if player has permission: Skript.np.ver
if arg 2 is set:
if arg 3 is set:
if player is op:
send "@prefix &aHesabina &c%arg% %aNP verildi" to arg 2
send "@prefix &c%arg 2% &aAdli Oyuncuya &c%arg% &aNP Verildi" to player
add arg-3 to {miktar.%arg 2%}
else:
send "@prefix &cBu Komutu Kullanmak icin yetkin yok" to player
else:
send "@prefix &cMiktar Yazmadin" to player
else:
send "@prefix &cKullanici Adi Yazmadin" to player"
if arg 1 is "sil":
if player has permission: Skript.np.sil
if arg 2 is set:
if arg 3 is set:
if player is op:
send "@prefix &aHesabindan &c%arg 3% &aNP Silindi" to arg 2
send "@prefix &c%arg 2% &aAdli Oyuncunun Hesabindan &c%arg 3% &aNP Silindi" to player
remove arg-3 from {miktar.%arg 2%}
else:
send "@prefix &cBu Komutu Kullanmak icin yetkin yok" to player
else:
send "@prefix &cMiktar Yazmadin" to player
else:
send: "@prefix &cKullanici Adi Yazmadin" to player"
if arg 1 is "ogren":
if player has permission: Skript.np.ogren
if arg 2 is set:
if player is op:
send "@prefix &c%arg 2% &aAdli Kullanicinin Hesabinda Bulunan NP &c%{miktar.%player%}%" to player
else:
send "@prefix &cBu Komutu Kullanmak icin yetkin yok" to player
else:
send "@prefix &cKullanici Adi Yazmadin" to player
if arg 1 is "yardim":
send "@prefix &c/NP &AHesabindaki NP Miktarini Gosterir" to player
send "@prefix &aMagaza'ya giderek harciyabilirsin" to player
if player is op:
send "@prefix &c/NP Ver <oyuncu> <miktar> &aKullaniciya NP verir" to player
send "@prefix &c/NP Sil <oyuncu> <miktar> &aKullanicidan NP Siler" to player
send "@prefix &c/NP Ogren <oyuncu> &aKullanicidaki NP Miktarini Gosterir" to player
command /np
permission: Skript.Np
permission message: &cBu Komutu Kullanmak icin yetkin yok
trigger:
send "@prefix &bHesabinda Bulunan NP &c%{miktar.%player%}%" to player
command /p5set
permission: Skript.NP.Market
permission message: &cBu Komutu Kullanmak icin yetkin yok
trigger:
execute consol command "np sil %player% 90"
give a diamond helmet of protection 5 name:&5%lP5_Kask
give a diamond chestplate of protection 5 name:&5&lP5_Zirh
give a diamond leggings of protection 5 name:&5&lP5_Pantolon
give a diamond boots of protection 5 name:&5&lP5_Bot
send "@prefix &c90NP &aKarsiliginda P5 Set Aldin" to player
stop