Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setname [<text>]:
- permission: mod
- trigger:
- player's tool is air:
- send "&cMam ci zmienic nazwe reki?"
- stop
- arg 1 is not set:
- reset name of player's tool
- send "&cChyba zapomniales podac nowej nazwy przedmiotu"
- stop
- set {_a} to arg 1
- replace "&" with "§" in {_a}
- set name of player's tool to {_a}
- send "&6Ustawiono nazwe przedmiotu w rece na '&r%{_a}%&6'"
- command /setlore [<text>] [<text>]:
- permission: mod
- trigger:
- arg 1 is not set:
- send "&f-------------=====&5SetLore&f=====-------------"
- send "&d/setlore &7Wyswietla to wlasnie menu"
- send "&d/setlore -add <tekst> &7Dodaje dalsza czesc lore przedmiotu w rece"
- send "&d/setlore -clear &7Ustawia lore przedmiotu w rece na """""
- send "&d/setlore <tekst> &7Ustawia nowe lore przedmiotu w rece"
- stop
- arg 2 is not set:
- arg 1 is "-clear":
- set lore of player's tool to ""
- send "&dUstawiono lore przedmiotu w rece na """""
- stop
- arg 1 is "-add":
- arg 2 is set:
- set {_ar2} to arg 2
- replace "&" with "§" in {_ar2}
- set lore of player's tool to "%lore of player's tool% %{_ar2}%"
- send "Dodano tekst do lore przedmiotu w rece"
- stop
- set {_ar1} to arg 1
- replace "&" with "§" in {_ar1}
- arg 2 is not set:
- set lore of player's tool to "%{_ar1}%"
- send "Ustawiono lore przedmiotu w rece"
- stop
- set {_ar2} to arg 2
- replace "&" with "§" in {_ar2}
- set lore of player's tool to "%{_ar1}% %{_ar2}%"
- send "Ustawiono lore przedmiotu w rece"
Advertisement
Add Comment
Please, Sign In to add comment