Yukarıdaki 2 skriptinde çalışmaması lazım.
Bunu kullanarak işini halledebilirsin ve /su yetkili komutu sadece op yetkisine sahip olanlar için.
Kod:
command /su [<text>]:
trigger:
if arg-1 is "al":
if player's balance is greater than 49999:
remove 500000 from player's balance
give player 2 water bottle named "&e&lSu"
send '&e50K Paraya Su Satın aldın' to player
else:
send '&c&lPARAN YOK DOSTUM' to player
if arg-1 isn't set:
send "&b&l""/su al"" &ekomutunu kullanarak &b&l50k&e karşılığında su alabilirsin!" to player
send "&e Yetkili komutu: &b&l""/su yetkili"""
if arg-1 is "yetkili":
if player have the permission "*":
give player 2 water bottle named "&e&lSu"