-
Ilość zawartości
6123 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
232
Treść opublikowana przez xAxee
-
Problem został rozwiązany.
-
Problem został rozwiązany.
-
command /latanie [<text="gui">]: trigger: player's world is "swiat" if arg 1 is "gui": open chest with 1 rows named "&8» &6Fly &8«" to player format slot 0 of player with 1 feather named "&8» &c10 minut &8«" with lore "&8• &9Koszt: &c20 zlota" to close then run [make player execute command "latanie 1"] format slot 1 of player with 1 feather named "&8» &c30 minut &8«" with lore "&8• &9Koszt: &c60 zlota" to close then run [make player execute command "latanie 2"] if arg 1 is "1": if player has 20 gold ingot: remove 20 gold ingot from the player's inventory set {fly::timer::%player%} to 10 minutes allow flight to the player send "&8• &3» &6Fly zostal &aaktywowany &8(&c10 minut&8)" to the player else: send "&8• &4&lBlad: &cNie posiadasz 20 zlota" to the player if arg 1 is "2": if player has 60 gold ingot: remove 60 gold ingot from the player's inventory set {fly::timer::%player%} to 30 minutes allow flight for player send "&8• &3» &6Fly zostal &aaktywowany &8(&c30 minut&8)" to the player else: send "&8• &4&lBlad: &cNie posiadasz 60 zlota" to the player on teleport: player's world is "swiat" if {fly::timer::%player%} is set: allow flight for player every seconds: loop all players: loop-player's world is "swiat" if {fly::timer::%loop-player%} is set: remove 1 second from {fly::timer::%loop-player%} if {fly::timer::%loop-player%} <= 0 second: clear {fly::timer::%loop-player%} disallow flight for loop-player send "&8• ◄ &4Czas sie skonczyl &8► •" to the loop-player else: set action bar of loop-player to "&cPozostalo: &a%{fly::timer::%loop-player%}%"
-
on rightclick on anvil: cancel event if player's tool is any pickaxe or any Axe or any shovel or any hoe or any sword or any helmet or any chestplate or any leggings or any boots or bow: open chest with 3 rows named "&4&lNaprawa Przedmiotow" to player wait 2 ticks format slot 13 of player with 1 of anvil of unbreaking 10 named "&4&lNaprawa" with lore "&5&oAby naprawic przedmiot trzymany w rece potrzebujesz :" and "&4&l- &6&lStal Kowalska" to run [execute player command "/naprawa"] else: send "Musisz trzymać narzędzie!"
-
Ten temat został przeniesiony do kosza!
-
To nie errory tylko warny, jest to informacja że występuje konflikt zmiennych
-
Problem został rozwiązany.
-
Ten temat został przeniesiony.
-
Chcę aby wiadomość wysyłała się co ustalony czas.
xAxee odpowiedział(a) na THEzombiePL pytanie w Pytania i problemy
Ten temat został zamknięty. -
Chcę aby wiadomość wysyłała się co ustalony czas.
xAxee odpowiedział(a) na THEzombiePL pytanie w Pytania i problemy
on load: clear {msg::*} loop (yaml nodes "list" from file "config"): set {msg::%loop-value%::message} to yaml value "list.%loop-value%.msg" from file "config" set {msg::%loop-value%::time} to yaml value "list.%loop-value%.cooldown" from file "config" parsed as timespan set {msg::%loop-value%::cd} to yaml value "list.%loop-value%.cooldown" from file "config" parsed as timespan every second: loop {msg::*}: remove 1 second from {msg::%loop-index%::cd} if {msg::%loop-index%::cd} is 1 second: send colored {msg::%loop-index%::message} to all players set {msg::%loop-index%::cd} to {msg::%loop-index%::time} -
repair player's tool
-
command /okradnij [<player>]: trigger: if distance between player-arg and player =< 3: send player-arg title "&4&lJESTES OKRADANY" with subtitle "&c&lKucnij, aby uniknac okradniecia" send "&bJestes okradany!" to player-arg send "&aKlikaj &4SHIFT &aaby sie obronic!" to player-arg wait 1 second if player-arg is sneaking: send "&cUdalo Ci sie uniknac okradniecia" stop else: send "&cTen gracz jest zbyt daleko ciebie" to player xD
-
Chcę aby wiadomość wysyłała się co ustalony czas.
xAxee odpowiedział(a) na THEzombiePL pytanie w Pytania i problemy
zamien if {msg::%loop-index%::cd} <= 0 second: na if {msg::%loop-index%::cd} is 1 second: i zobacz -
Ten temat został przeniesiony.
-
function getPlayers(t: text) :: players: loop all players: loop-player has permission {_t}: add loop-player to {_ret::*} return {_ret::*} command /helpop [<text>]: trigger: if arg is not set: send "/helpop <tresc>" stop send "&7Zglosiles problem: &6%arg%&7" send "&4[&7HelpOP&4] &7%player%: &6%argument%&7" to getPlayers("helpop.gracz") on chat: if message contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay": cancel event send "&8============================" to getPlayers("helpop.gracz") send "&7->&c&l Prawdopodobnie" to getPlayers("helpop.gracz") send "&7->&c&l Wykryto Reklame!" to getPlayers("helpop.gracz") send "&7->&c Gracz&4 %player%&c." to getPlayers("helpop.gracz") send "&7->&c Napisal:&4 %message%&c." to getPlayers("helpop.gracz") send "&8============================"to getPlayers("helpop.gracz") if message contains "kurwa" or "jebac" or "huj" or "pierdol" or "szmata" or "kurna" or "chuj" or "szmato" or "pierdolic": cancel event send "&cTwoja wiadomosc zawiera brzydkie słowa. Nie zostala wyslana" to player execute console command "helpop &4&l[WYKRYTO PRZEKLENSTWO] &c%player% Napisal %message% [CONSOLE]" nw czego tu nie zrozumiałeś xD
-
Chcę aby wiadomość wysyłała się co ustalony czas.
xAxee odpowiedział(a) na THEzombiePL pytanie w Pytania i problemy
on load: clear {msg::*} loop (yaml nodes "list" from file "config"): set {msg::%loop-value%::message} to yaml value "list.%loop-value%.msg" from file "config" set {msg::%loop-value%::time} to yaml value "list.%loop-value%.cooldown" from file "config" parsed as timespan set {msg::%loop-value%::cd} to yaml value "list.%loop-value%.cooldown" from file "config" parsed as timespan every second: loop {msg::*}: remove 1 from {msg::%loop-index%::cd} if {msg::%loop-index%::cd} <= 0 second: send colored {msg::%loop-index%::message} to all players set {msg::%loop-index%::cd} to {msg::%loop-index%::time} -
[SZUKAM] Jak dodać, żeby skrypt się powtarzał?
xAxee odpowiedział(a) na kubeczekxdeee pytanie w Pytania i problemy
o:: Loop { Send / Sleep 100 Send sellall Sleep 10 Send {enter} Sleep 1000 Send / Sleep 100 Send repair Sleep 10 Send {enter} } ogolnie kiedys zrobiłem funkcje do wysylania komend cmd(command) { sleep 50 send / sleep 50 send %command% sleep 500 send {enter} sleep 50 } u mozesz to tak uzyc w tym skrypcie o:: Loop { cmd("sellall") slee 1000 cmd("repair") } cmd(command) { sleep 50 send / sleep 50 send %command% sleep 250 send {enter} sleep 50 } -
Problem został rozwiązany.
-
a no tak zapomniałem zmienić wartość, bo testowałem xD I odejmowało 30 sek zamiast 1 sek
-
Ten temat został zamknięty.
-
Zmieniłeś rozmiar gui i umieszczenie slotów i jeszcze inne, po co? Chcesz coś inaczej iwg? Jak tak to powiedz jak to zmienie. Masz tu do sprawdzenia stron iwg:
-
command /okradnij [<player>]: trigger: if distance between player-arg and player <= 3:: send player-arg title "&4&lJESTES OKRADANY" with subtitle "&c&lKucnij, aby uniknac okradniecia" send "&bJestes okradany!" to player-arg send "&aKlikaj &4SHIFT &aaby sie obronic!" to player-arg wait 1 second if player-arg is sneaking: send "&cUdalo Ci sie uniknac okradniecia" stop else: send "&cTen gracz jest zbyt daleko ciebie" to player
-
Gdzie ma wyświetlac?
