Moglibyście naprawić mi ten skrypt? No wiecie wytabować itd. Z góry dzięki za pomoc
on rightclick:
if event-block is sign:
if line 1 of the clicked block is "[Dzialka]":
if line 2 of the clicked block is "Kup":
if line 3 of the clicked block is set:
if line 4 of the clicked block is set:
set {_nazwa} to line 3 of the clicked block
set {_cena} to line 4 of the clicked block
if {kasa::%player%} is greater than or equal to {_cena}:
set {kupno::%{_nazwa}%} to true
set {dzialka::%player%} to true
remove {_cena} from {kasa::%player%}
execute server command "rg addmember %{_nazwa}% %player%"
send "Kupiles dzialke"
set line 2 to "WYKUPIONA"
set line 3 to "%player%"
else:
send "Nie ams tyle pieniedzy potrzebujesz: %{_cena}%"on sign change:
if line 1 is "[Dzialka]":
if line 2 is "kup":
if line 3 is not empty:
if line 4 is not empty:
if player is op:
set {_liczba} to line 4 parsed as integer
if {_liczba} is set:
send "Tabliczka poprawna!"
else:
send "4linijka musis byc liczba"
else:
send "Musisz miec OP"
set event-block to air
drop sign
stop
else:
send "4linijka to cena!"
set event-block to air
drop sign
stop
else:
send "3linijka to nazwa regionu"
set event-block to air
drop sign
stop
Pytanie
JellyBeans 3
Cześć,
Moglibyście naprawić mi ten skrypt? No wiecie wytabować itd. Z góry dzięki za pomoc
on rightclick:
if event-block is sign:
if line 1 of the clicked block is "[Dzialka]":
if line 2 of the clicked block is "Kup":
if line 3 of the clicked block is set:
if line 4 of the clicked block is set:
set {_nazwa} to line 3 of the clicked block
set {_cena} to line 4 of the clicked block
if {kasa::%player%} is greater than or equal to {_cena}:
set {kupno::%{_nazwa}%} to true
set {dzialka::%player%} to true
remove {_cena} from {kasa::%player%}
execute server command "rg addmember %{_nazwa}% %player%"
send "Kupiles dzialke"
set line 2 to "WYKUPIONA"
set line 3 to "%player%"
else:
send "Nie ams tyle pieniedzy potrzebujesz: %{_cena}%"on sign change:
if line 1 is "[Dzialka]":
if line 2 is "kup":
if line 3 is not empty:
if line 4 is not empty:
if player is op:
set {_liczba} to line 4 parsed as integer
if {_liczba} is set:
send "Tabliczka poprawna!"
else:
send "4linijka musis byc liczba"
else:
send "Musisz miec OP"
set event-block to air
drop sign
stop
else:
send "4linijka to cena!"
set event-block to air
drop sign
stop
else:
send "3linijka to nazwa regionu"
set event-block to air
drop sign
stop
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi