on script load:
if file "plugins/BUG/bug.yml" doesn't exist:
create file "plugins/BUG/bug.yml"
command /bug [<text>]:
description: "%{czy.online}%"
trigger:
if player has permissions "SRaports.bug":
if arg 1 is set:
set "%player%.(%{ile.%player%}%)" to "%arg 1%" in yaml file "plugins/BUG/bug.yml"
send "&7Wyslales twojego &c%{ile.%player%}% &7buga do bazy danych: ""&c%arg 1%&7"" " to player
add 1 to {ile.%player%}
else:
send "&cPodaj tresc buga i jego lokalizacje" to player
else:
send "&cBrak uprawnien do komendy" to player
Pytanie
jndooo 9
O to kod
Odnośnik do komentarza
https://skript.pl/temat/34760-jak-doda%C4%87-do-tego-by-gracz-mog%C5%82-wysy%C5%82ac-co-np-6h/Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi