Oto Aç Kapa Skripte Eklenmesi

Akifmi37

Kömür Madencisi
En iyi cevaplar
0
Serverimde Kullandıgım Bir Skript Var Ama Buna Oto Açma Ve Kapama Lzm Yardım Edin :D pls
Kod:
on break of lapis lazuli ore:
    player has permission "oto.acemi"
    if player has 256 of lapis lazuli:
        cancel event
        remove 256 lapis lazuli from player
        execute console command "eco give %player% 1000"
 

MustafaMertBulut

MC.MAXCRAFT.AT
En iyi cevaplar
0
Kod:
command /lapis [<text>]:
 if arg 1 is "ac":
  set %{lapis.%player%} to true
  send "açıldı" to player
 else if arg 1 is "kapa":
  set %{lapis.%player%} to false
  send "kapatıldı" to player

on break of lapis lazuli ore:
 if {lapis.%player%} is true:
  if player has 256 of lapis lazuli:
   cancel event
   remove 256 lapis lazuli from player
   execute console command "eco give %player% 1000"
 

Zaurdemirov

Altın Madencisi
En iyi cevaplar
0
Kod:
on break of lapis lazuli ore:
    if {durum.%player%} is true:
        player has permission "oto.acemi"
            if player has 256 of lapis lazuli:
                cancel event
                remove 256 lapis lazuli from player
                execute console command "eco give %player% 1000"

command /otolapis [<text>]:
    trigger:
        if arg 1 is not set:
            send "&6[&7Otolapis&6] &aKullanim /otolapis [ac/kapat]"
        if arg 1 is "ac" or "aç":
            set {durum.%player%} to true
            send "&6[&7Otolapis&6] &aOtoLapis Satma Acildi"
        if arg 1 "kapat"
            set {durum.%player%} to false
            send "&6[&7Otolapis&6] &aOtoLapis Satma Kapatildi"
        else:
            send "&6[&cHata&6] &aDogru Kullanim /otolapis [ac/kapat]"
 

Akifmi37

Kömür Madencisi
En iyi cevaplar
0
Kod:
command /lapis [<text>]:
 if arg 1 is "ac":
  set %{lapis.%player%} to true
  send "açıldı" to player
 else if arg 1 is "kapa":
  set %{lapis.%player%} to false
  send "kapatıldı" to player

on break of lapis lazuli ore:
 if {lapis.%player%} is true:
  if player has 256 of lapis lazuli:
   cancel event
   remove 256 lapis lazuli from player
   execute console command "eco give %player% 1000"
Çalışmıyor , Ve Permisyon Yok

Kod:
on break of lapis lazuli ore:
    if {durum.%player%} is true:
        player has permission "oto.acemi"
            if player has 256 of lapis lazuli:
                cancel event
                remove 256 lapis lazuli from player
                execute console command "eco give %player% 1000"

command /otolapis [<text>]:
    trigger:
        if arg 1 is not set:
            send "&6[&7Otolapis&6] &aKullanim /otolapis [ac/kapat]"
        if arg 1 is "ac" or "aç":
            set {durum.%player%} to true
            send "&6[&7Otolapis&6] &aOtoLapis Satma Acildi"
        if arg 1 "kapat"
            set {durum.%player%} to false
            send "&6[&7Otolapis&6] &aOtoLapis Satma Kapatildi"
        else:
            send "&6[&cHata&6] &aDogru Kullanim /otolapis [ac/kapat]"
Hata Veriyor :(
 

McWeb

Kızıltaş Madencisi
En iyi cevaplar
0
Zaurdemirov attığı skriptte
Kod:
if arg 1 "kapat"
kısmında "is" yazmayı unutmuş o kısmı şöyle yapınca düzelmesi lazım
Kod:
if arg 1 is "kapat"
 
Üst