on join:
if {praca::%player%} is not set:
set {praca::%player%} to "&4Bezrobotny"
options:
tag: &6EASYHMC
command /prace [<text>] [<text>]:
trigger:
if argument 1 is not set:
send "&6=-=-=-=-=-={@tag}&6=-=-=-=-=-="
send "&2/prace dolacz NAZWA &aDOLACZA CIE DO DANEJ PRACY"
send "&2/prace list &aPOKAZUJE WSZYSTKIE PRACE"
send "&2/prace info &aWYSWIETLA INFORMACJE DOTYCZACE PRACY"
send "&2/prace opusc &aOPUSZCZASZ PRACE"
send ""
send "&2Twoja aktualna praca to: %{praca::%player%}%"
send "&2Twoj obecny poziom pracy to: %{lvlpraca::%player%}%"
if argument 1 is "dolacz":
send "&2/prace dolacz NAZWA"
if argument 2 is "Gornik":
set {praca::%player%} to "&7Gornik"
send "&2Dolaczyles do pracy &7Gornik!"
if argument 2 is "Drwal":
set {praca::%player%} to "&aDrwal"
send "&2Dolaczyles to pracy &aDrwal"
if argument 2 is "Budowniczy":
set {praca::%player%} to "&9Budowniczy"
send "&aDolaczyles to pracy &9Budowniczy"
if argument 1 is "list":
send "&6=-=-=-=-=-={@tag}=-=-=-=-=-="
send "&7Gornik"
send "&aDrwal"
send "&9Budowniczy"
if argument 1 is "info":
send "&6=-=-=-=-=-={@tag}=-=-=-=-=-="
send "&4COS SIE POPSULO"
if argument 1 is "opusc":
set {praca::%player%} to "&4Bezrobotny"
set {lvlpraca::%player%} to "0"
send "&2Wlasnie opusciles prace!"
on break of cobblestone:
if {praca::%player%} is "Gornik":
if {lvlpraca::%player%} is "0":
add 1 to {lvlpraca::%player%}
Witam, zrobilem skrypt na prace lecz on nie działa, znaczy nie działa dodawnie {lvlprace::%player%} ciagle jest 0,
Na serwerze mam zrobione cos innego z poziomem, nwm czy to moze cos przeszkadzac ale to jest tylko na chacie a te prace juz nie
Pytanie
Rabby 11
variables:
{lvlpraca::%player%} = 0
on join:
if {praca::%player%} is not set:
set {praca::%player%} to "&4Bezrobotny"
options:
tag: &6EASYHMC
command /prace [<text>] [<text>]:
trigger:
if argument 1 is not set:
send "&6=-=-=-=-=-={@tag}&6=-=-=-=-=-="
send "&2/prace dolacz NAZWA &aDOLACZA CIE DO DANEJ PRACY"
send "&2/prace list &aPOKAZUJE WSZYSTKIE PRACE"
send "&2/prace info &aWYSWIETLA INFORMACJE DOTYCZACE PRACY"
send "&2/prace opusc &aOPUSZCZASZ PRACE"
send ""
send "&2Twoja aktualna praca to: %{praca::%player%}%"
send "&2Twoj obecny poziom pracy to: %{lvlpraca::%player%}%"
if argument 1 is "dolacz":
send "&2/prace dolacz NAZWA"
if argument 2 is "Gornik":
set {praca::%player%} to "&7Gornik"
send "&2Dolaczyles do pracy &7Gornik!"
if argument 2 is "Drwal":
set {praca::%player%} to "&aDrwal"
send "&2Dolaczyles to pracy &aDrwal"
if argument 2 is "Budowniczy":
set {praca::%player%} to "&9Budowniczy"
send "&aDolaczyles to pracy &9Budowniczy"
if argument 1 is "list":
send "&6=-=-=-=-=-={@tag}=-=-=-=-=-="
send "&7Gornik"
send "&aDrwal"
send "&9Budowniczy"
if argument 1 is "info":
send "&6=-=-=-=-=-={@tag}=-=-=-=-=-="
send "&4COS SIE POPSULO"
if argument 1 is "opusc":
set {praca::%player%} to "&4Bezrobotny"
set {lvlpraca::%player%} to "0"
send "&2Wlasnie opusciles prace!"
on break of cobblestone:
if {praca::%player%} is "Gornik":
if {lvlpraca::%player%} is "0":
add 1 to {lvlpraca::%player%}
Witam, zrobilem skrypt na prace lecz on nie działa, znaczy nie działa dodawnie {lvlprace::%player%} ciagle jest 0,
Na serwerze mam zrobione cos innego z poziomem, nwm czy to moze cos przeszkadzac ale to jest tylko na chacie a te prace juz nie
tylko pod komenda
Pomocy!
Odnośnik do komentarza
Udostępnij na innych stronach
16 odpowiedzi na to pytanie
Rekomendowane odpowiedzi