-
Ilość zawartości
1471 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
40
Treść opublikowana przez PanMaruda
-
on inventory click: if clicked item is {@item}: set {_s} to clicked slot if {_s} is 8: cancel event close player's inventory make player execute command "gui" else: #usun przedmiot z klikniętego slotu #jeżeli przedmiot w slocie 8 się nie zgadza #przypisz przedmiot do slotu 8 może tak?
-
on chat: if unformatted message equals unformatted "!nagroda <nick>": give 1 of diamond named "nagroda" to player
-
Może ilość i wartość trzeba podać command /kilof: trigger: set {_e} to "AutoSmelt 1" parsed as custom enchantment give 1 of diamond pickaxe of {_e} to inventory of player send "11" stop
-
-
Pytałeś o wstawianie itemku w crafting i wykonywanie akcji więc tylko tyle wysłałem. Jak chcesz żeby przedmiot tam zostawał to musisz za każdym razem go czyścić przy zamknięciu ekwipunku i ustawiać na nowo podczas otwierania.
-
A spróbuj enable-query w server properties dać na false
-
on click: open chest with 1 row to player set slot (random integer from 0 to 8) of player to (head of player) with lore "twoje staty"
-
on command: if command is "bukkit:pl" or "plugins" or "pl" or "bukkit:plugins": player is not op: cancel event send "&fPlugins (4): &aNot&f, &aFor&f, &aDoge&f, &aSasuage" Edit @xAxee zwolnij szatanie XD
-
inventory click: if "%clicked slot%" is "crafting slot 2 of %player%": cancel event send "&3Własnie kliknąłeś na drugi slot w swoim craftingu, gratulacje." on rightclick: set slot 2 of current inventory of player to carrot item
-
on place of tnt: set {_s} to hour if {_s} >= 22: if {_s} < 8: cancel event send "Tnt od 8 do 22 on explode: set {_s} to hour if {_s} >= 22: if {_s} < 8: cancel event send "Tnt od 8 do 22"
-
no bo ten kod nie działa, zamiary może pan powyżej miał dobre, ale wykonanie średnie. To może ja to teraz wytłumaczę to tak po 'skriptowemu': #zacznijmy od tego samego - pobieramy położenie gracza do zmiennej set {_loc} to location of player #teraz dodajemy ten rozrzut i coś czego powyżej zabrakło - zastosowanie go w późniejszych działaniach #moim zdaniem wahania od -5 do 5 będą za duże, bardziej bym proponował coś -0.5 do 0.5 #losujemy liczbę i dodajemy ją do kątów yaw i pitch w zmiennej add (random number between -0.5 and 0.5) to yaw of {_loc} add (random number between -0.5 and 0.5) to pitch of {_loc} #mamy kąty, mamy dla nich rozrzut - teraz kolej na stworzenie wektora, który w skript ma swój osobny obiekt set {_v} to vector from yaw (yaw of {_loc}) and pitch (pitch of {_loc}) #mamy wektor więc teraz tylko strzelamy strzałą czy innym entity w jego kierunku shoot an arrow from {_loc} with speed 4 {_v}
-
aKCtuAlLy... obiekty zmienna przechowuje - to co tam zaznaczyłeś jest jedynie tekstem / nazwą / indeksem
-
set {_} to leather helmet #named "nazwa" (...) dye {_} red give {_} to player drop {_} at player
-
Wiadomość do grupy graczy w promieniu 30 bloków
PanMaruda odpowiedział(a) na pelikan pytanie w Pytania i problemy
on death: if victim is zombie pigman: if name of victim is "&4&lMroczny Sługa": set {_} to location of victim wait 30 second loop all players in radius 35 around {_}: teleport loop-player to {tboss::megabeka} teleport attacker to {tboss::megabeka} -
on join: if {t::%player%} is not set: set {t::%player%} to true send resource pack "bezpośredni-link-do-pliku-z-texturepackiem" to player
-
command: command = "helpop": arguments are set: log arguments to "plugins/Skript/variables.log"
-
no to może było to sprawdzić przed pobraniem kasy? if balance of player >= %kwota%: remove %kwota% from balance of player send "pobrano" stop send "nie masz funduszy"
-
on chat: if player has permission "skript.chatmod": stop if message contains "wyznaczone słowo": cancel event send "Twoja wiadomość zawiera &cwyznaczone słowo&r, teraz oczekuje na zaakceptowanie przez chatmoda." set {_now} to unix timestamp of now set {_} to uncoloured chat format set {accept::%{_now}%} to chat format loop all players: if loop-player has permission "skript.chatmod": send formatted "&8%{_}% <run command:/accept %{_now}%>&a[&2&lAKCEPTUJ&a]&r" to loop-player on load: delete {accept::*} command /accept [<string>]: permission: skript.chatmod trigger: if {accept::%arg%} is set: send {accept::%arg%} to all players
-
set {_uczymy.Się.Wykorzystywać.Procenty.Klasa.Piąta.Szkoła.Podstawowa} to 0.10 * {poprzednie} add {_uczymy.Się.Wykorzystywać.Procenty.Klasa.Piąta.Szkoła.Podstawowa} to {cena}
-
on click: if "%id of tool of player%" is "2263": if name of tool of player is "&6&lMe&e&lnu": execute player command "/test"
-
on weather change to rain: "%event-world%" is "world": set {weather::status}, {weather::dzien} and {weather::noc} to 0 broadcast "&8[&aEast&bCore&8] &adeszcz pada" wait 15 seconds if ({weather::dzien} / {weather::noc}) >= 1: set weather to sun broadcast "&8[&aEast&bCore&8] &bWygrał Dzień!" else: broadcast "&8[&aEast&bCore&8] &bWygrała Noc!." delete {weather::*} command /slonce: trigger: if {weather::status} is set: if {weather::gracz::%player%} is not set: set {weather::gracz::%player%} to true add 1 to {weather::dzien} send "&8[&aEast&bCore&8] &aZagłosowałes na Dzień." stop send "&8[&aEast&bCore&8] &cJuż zagłosowałeś!" stop send "&8[&aEast&bCore&8] &cObecnie nie ma głosowania!" command /deszcz: trigger: if {weather::status} is set: if {weather::gracz::%player%} is not set: set {weather::gracz::%player%} to true add 1 to {weather::noc} send "&8[&aEast&bCore&8] &aZagłosowałeś na Noc" stop send "&8[&aEast&bCore&8] &cJuż zagłosowałeś!" stop send "&8[&aEast&bCore&8] &cObecnie nie ma głosowania!"
-
A jakie masz ambicje i umiejętności?
-
on first join: set {join::%player%} to true broadcast "%player% wszedł pierwszy raz, przywitaj go, napisz: cześć %player%" on chat: loop all players: if {join::%loop-player%} is true: if message contains "cześć %loop-player%": send "przywitałeś go jako pierwszy" add 100 to balance of player delete {join::%loop-player%}
