options:
Prefix : &0&l[&3&lEpicCraftTR&0&l]
command /Rütbe <text>:
trigger:
if arg 1 is "Yardım":
send "&6Komutlar:"
send "&e/Rütbe Atla - &fRütbe Atlama Menüsünü Açar."
send "&e/Rütbe Liste - &fRütbe Listesini Gösterir."
if arg 1 is "Liste":
send "&6Rütbeler:"
send "&eSky Acemi &7= &f100,000 TL"
send "&eSky Lord &7= &f200,000 TL"
send "&eSky Pro &7= &f300,000 TL"
send "&eSky King &7= &f400,000 TL"
send "&eSky Epic &7= &f500,000 TL"
if arg 1 is "Atla":
open chest with 3 rows named "&eRütbe Liste" to player
format slot 2 of player with leather tunic named "&eSky Acemi" with lore "&f100K" to close then run [execute player command "/sky acemi"]
format slot 5 of player with golden chestplate named "&eSky Lord" with lore "&f200K" to close then run [execute player command "/sky lord"]
format slot 8 of player with chain chestplate named "&eSky Pro" with lore "&f300K" to close then run [execute player command "/sky pro"]
format slot 11 of player with iron chestplate named "&eSky King" with lore "&f400K" to close then run [execute player command "/sky king"]
format slot 14 of player with diamond chestplate named "&eSky Epic" with lore "&f500K" to close then run [execute player command "/sky epic"]
command /sky <text>:
trigger:
if arg 1 is "acemi":
if player's balance >= 100000:
execute console command "manuadd %player% skyacemi"
send "&eSky Acemi Oldunuz!" to player
send "&e%player% &fAdlı oyuncu Sky Acemi Oldu!" to players
remove 100000 from player's balance
else:
send "&6Yeterli paranız yok!" to player
if arg 1 is "lord":
if player's balance >= 200000:
execute console command "manuadd %player% skylord"
send "&eSky Lord Oldunuz!" to player
send "&e%player% &fAdlı oyuncu Sky Lord Oldu!" to players
remove 200000 from player's balance
else:
send "&6Yeterli paranız yok!" to player
if arg 1 is "pro":
if player's balance >= 300000:
execute console command "manuadd %player% skypro"
send "&eSky Pro Oldunuz!" to player
send "&e%player% &fAdlı oyuncu Sky Pro Oldu!" to players
remove 300000 from player's balance
else:
send "&6Yeterli paranız yok!" to player
if arg 1 is "king":
if player's balance >= 400000:
execute console command "manuadd %player% skyking"
send "&eSky King Oldunuz!" to player
send "&e%player% &fAdlı oyuncu Sky King Oldu!" to players
remove 400000 from player's balance
else:
send "&6Yeterli paranız yok!" to player
if arg 1 is "epic":
if player's balance >= 500000:
execute console command "manuadd %player% skyepic"
send "&eSky Epic Oldunuz!" to player
send "&e%player% &fAdlı oyuncu Sky Epic Oldu!" to players
remove 500000 from player's balance
else:
send "&6Yeterli paranız yok!" to player