[SK] Eşyaya açıklama (lore) ekleme | Eşya ismi değiştirme

Majoras

Arcenia Network
Grafiker
En iyi cevaplar
0
Herkese merhaba forum ailesi
Bu skript sayesinde istediğiniz eşyaya/bloğa dilediğiniz gibi açıklama ekleyip ismini değiştirebilirsiniz.
Skript konusunda fazla iyi değilim, kodlarda hatam varsa lütfen bildiriniz fakat her komutu denedim sorunsuz bir şekilde çalışıyor, işlevini yerine getiriyor.
Gelelim örneklere ve koda ;


Örnekler








Kod

Kod:
command /loreekle [<integer=1>] [<text="">]:
  aliases: rel
  permission: lore.lore
  permission message: &l<yellow> Lore >> &a&lBunu yapabilmek için yetkin yok !
  trigger:
    if arg-2 is set:
      set line arg-1 of the lore of player's tool to "&d&o%colored arg-2%"
      send "&l<yellow> Lore >> &a&lEşyadaki %arg-1% numaralı sıra düzenlendi."
command /itemadiekle <text>:
  aliases: ren
  permission: itemadi.ekle
  permission message: &l<yellow> Lore >> &a&lBunu yapabilmek için yetkin yok !
  trigger:
    if arg-1 is set:
      set the name of player's tool to "&r%colored arg-1%"
      send "&l<yellow> Lore >> &a&l Eşyanın adı %colored arg-1% olarak değiştirildi."
command /loresil [<text>]:
  aliases: cl
  permission: lore.sil
  permission message: &l<yellow> Lore >> &a&lBunu yapabilmek için yetkin yok !
  trigger:
    if arg-1 is set:
      if arg-1 is "1":
        set player's tool's lore to ""
        delete line 1 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 1. satırın yazısı başarıyla silindi."
      if arg-1 is "2":
        set player's tool's lore to ""
        delete line 2 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 2. satırın yazısı başarıyla silindi."
      if arg-1 is "3":
        set player's tool's lore to ""
        delete line 3 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 3. satırın yazısı başarıyla silindi."
      if arg-1 is "4":
        set player's tool's lore to ""
        delete line 4 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 4. satırın yazısı başarıyla silindi."
      if arg-1 is "5":
        set player's tool's lore to ""
        delete line 5 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 5. satırın yazısı başarıyla silindi."
      if arg-1 is "6":
        set player's tool's lore to ""
        delete line 6 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 6. satırın yazısı başarıyla silindi."
      if arg-1 is "7":
        set player's tool's lore to ""
        delete line 7 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 7. satırın yazısı başarıyla silindi."
      if arg-1 is "8":
        set player's tool's lore to ""
        delete line 8 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 8. satırın yazısı başarıyla silindi."
      if arg-1 is "9":
        set player's tool's lore to ""
        delete line 9 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 9. satırın yazısı başarıyla silindi."
      if arg-1 is "10":
        set player's tool's lore to ""
        delete line 10 of the lore of player's tool
        send "&l<yellow> Lore >> &a&lEşyadaki 10. satırın yazısı başarıyla silindi."
    else:
      send "&l<yellow> Lore >> &a&lDoğru kullanımı: /loresil <sıranumarası>"
command /itemadısil:
  aliases: cn
  permission: itemadi.sil
  permission message: &l<yellow> Lore >> &a&lBunu yapabilmek için yetkin yok !
  trigger:
    set the name of player's tool to ""
    send "&l<yellow> Lore >> &a&lEşyanın adı başarıyla silindi."

Komutlar ve işlevleri

/loreekle <eklenecek sıra no> <mesaj>
Elinizdeki eşyanın belirttiğiniz sıraya belirttiğiniz yazı yazacaktır.

/loresil <sileceğin sıra no>
Elinizdeki eşyanın belirttiğiniz sıra numarasındaki yazıları siler.

/itemadiekle <item adı>
Elinizdeki eşyanın adını değiştirir.

/itemadisil
Elinizdeki eşyanın adını siler.


Konuma bakıp, zaman ayırdığınız için teşekkür ederim. Umarım beğenmişsinizdir.
@Enderiatus @ForcEmir
 
Son düzenleme:
Üst