czy ktoś byłby w stanie przepisać ten kod na jave:
Spoiler
command /istoniarka [<text>]:
trigger:
if player has permission "kphc.vip":
set {_b} to {s.toUpdateBlock::%player%}
if arg 1 is "update2":
if {coinsy.kwota::%player%}+1 is more than 250:
set {s.lvl.2.isUpdated::%{_b}%} to "true"
send player title "" with subtitle "&aZakupiono!" for 3 seconds
remove 250 from {coinsy.kwota::%player%}
else:
send player title "" with subtitle "&cBrak srodkow!" for 3 seconds
if arg 1 is "update3":
if {coinsy.kwota::%player%}+1 is more than 500:
set {s.lvl.3.isUpdated::%{_b}%} to "true"
send player title "" with subtitle "&aZakupiono!" for 3 seconds
remove 500 from {coinsy.kwota::%player%}
else:
send player title "" with subtitle "&cBrak srodkow!" for 3 seconds
if arg 1 is "update4":
if {coinsy.kwota::%player%}+1 is more than 1000:
set {s.lvl.2.isUpdated::%{_b}%} to "true"
send player title "" with subtitle "&aZakupiono!" for 3 seconds
remove 1000 from {coinsy.kwota::%player%}
else:
send player title "" with subtitle "&cBrak srodkow!" for 3 seconds
clear {s.toUpdateBlock::%player%}
Albo dałby ktoś jakąś dokumentację dot. używania variablesów z SK w javie?
Pytanie
Gość KuzynProcesor
Witam,
czy ktoś byłby w stanie przepisać ten kod na jave:
Albo dałby ktoś jakąś dokumentację dot. używania variablesów z SK w javie?
Odnośnik do komentarza
https://skript.pl/temat/36415-przepisanie-ze-skripta-na-jave/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi