-
Ilość zawartości
999 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
23
Treść opublikowana przez Shooterowy
-
on death: if attacker is a player: if victim is a zombie: add 10 to attacker's money
-
on death: if victim is not a player: if attacker is a player: broadcast "&8[&6*&8] &3Enchanted &8[&6*&8] &7%attacker% zabil %victim%"
-
zmień loop 10 times: na loop 3 times:
-
Musisz mieć plugin SkQuery.
-
zmień disable fly of player na set player's fly mode to false
-
Zmień on mine:na on break:
-
WildSkript to dodatek do Skript...
-
Napisze mi ktoś skrypt na konfigurowanie /msg !!
Shooterowy odpowiedział(a) na koversik123 pytanie w Zlecenia
command /msg [<offlineplayer>] [<text>]: trigger: if arg 1 is not set: send "&cBlad: &4/msg <gracz> <wiadomosc>" stop if arg 2 is not set: send "&cBlad: &4/msg <gracz> <wiadomosc>" stop if arg 1 is offline: send "&cBlad: &4Nie ma takiego gracza!" stop if arg 1 is player: send "&cBlad: &4Nie mozesz pisac do siebie!" stop set {sender::%arg 1%} to player send "&7(&cJA &7>> &c%arg 1%&7) &8%arg 2%" send "&7(&c%player% &7>> &cJA&7) &8%arg 2%" to arg 1 command /r [<text>]: trigger: if arg is not set: send "&cBlad: &4/r <wiadomosc>" stop if {sender::%player%} is not set: send "&cBlad: &4Nie masz komu odpisac!" stop if {sender::%player%} is offline: send "&cBlad: &4Nie masz komu odpisac!" clear {sender::%player%} stop execute player command "msg %{sender::%player%}% %arg%" on quit: if {sender::%player%} is set: clear {sender::%player%} -
zmień player na attacker w broadcast "%player% zabil Krola Pajakow!"
-
on region enter: if event-region is "dungeon" parsed as region: if event-player has paper named "&aBilet Do Duengonu": remove paper named "&aBilet Do Duengonu" from event-player else: cancel event send "&cAby wejsc do dungeonu musisz miec bilet" to event-player
-
on mine: if player's tool is any axe: if event-block is any log or acacia log or dark oak log: cancel event set event-block to air damage player's tool by 1 add event-block named "&8[&6*&8] &3Drewno &8[&6*&8]" to player
-
Nie musisz, gracze z poziomem niższym niż podany nie będą mogli wejść na region.
-
Dokładnie tak, zmień "strefavip" na swoją nazwę regionu.
-
on region enter: if event-region is "strefavip" parsed as region: if player's level is less than 15: cancel event send "&cMusisz miec &b15 poziom &caby wejsc do strefy VIP!"
-
Nie działający kod który ma sprawdzać czy w zmiennej jest dany tekst.
Shooterowy odpowiedział(a) na boleknowak pytanie w Pytania i problemy
command /gra [<text>]: trigger: loop {craft::%player%::games::*}: if arg is loop-value: send "&aMasz te gre!" stop send "&cNie masz tej gry!" stop -
Skrypt na magiczne skrzynki pomocy !
Shooterowy odpowiedział(a) na koversik123 pytanie w Pytania i problemy
https://skript.pl/topic/7891-case-opening/ -
every 5 seconds: loop all players: repair chestplate of loop-player repair boots of loop-player repair helmet of loop-player repair leggings of loop-player loop all items in inventory of loop-player: if loop-item is any sword or any pickaxe or any axe or any shovel or any hoe or shears or any helmet or any chestplate or any leggings or any boots or bow or fishing rod: repair loop-item Może lagować.
- 1 odpowiedź
-
Nie działający kod który ma sprawdzać czy w zmiennej jest dany tekst.
Shooterowy odpowiedział(a) na boleknowak pytanie w Pytania i problemy
//Edit Trzeba dać kod z else równo z pętlą i dać stop po warunkach. -
on spawn: if "%regions at event-location%" contains "miasto": if event-entity is not a zombie: cancel event
-
command /trade: trigger: add diamond for stone named "Diamond Stone" with 99999 max uses to {_trades::*} open trade gui named "&6Sklep" with {_trades:*} to player Potrzebny plugin RandomSK. strony dodajesz add <item> for <item> with <dostepna_ilosc_ofert> max uses to {_trades::*}
-
damage player by maximum health of player*0.1
-
Wtedy mobek otrzyma damage z miecza i do tego jeszcze {_i}. Lepiej zrobić set damage to {_i}
-
Kod musi zawierać tylko spacje albo tylko taby.
-
O kurczę, toż to przecież mój skrypt :D Proszę, dodałem opcję zmiany nazwy przedmiotu: //Edit, dodałem Crafting options: Initial_Lives: 3 #Poczatkowa ilosc zyc Max_Lives: 10 #Maksymalna ilosc zyc Death_Worlds: "world" or "world_nether" #Swiaty w ktorych dziala skrypt. Aby dodac nowy swiat dopisz 'or "swiat"' Action_Item: diamond #Przedmiot, ktory dodaje zycia Action_Item_Name: "&3Mega Diamond" #Nazwa przedmiotu Items_per_Life: 3 #Ile przedmiotow trzeba uzyc aby zdobyc 1 zycie. #Crafting item1: diamond item2: diamond item3: diamond item4: diamond item5: golden apple item6: diamond item7: diamond item8: diamond item9: diamond on script load: register new shaped recipe for {@Action_Item} named {@Action_Item_Name} using {@item1}, {@item2}, {@item3}, {@item4}, {@item5}, {@item6}, {@item7}, {@item8}, {@item9} on connect: if {LifeMC::lives::%player%} is 0: kick player due to "&cYou lost all your lives. You cannot join the server." stop on join: wait a tick if {LifeMC::lives::%player%} is not set: set {LifeMC::counter::%player%} to 0 set {LifeMC::lives::%player%} to {@Initial_Lives} send "&a[LifeMC] &bYou have received &c{@Initial_Lives} &blives. Good Luck!" stop send "&a[LifeMc] &bWelcome back. You have &c%{LifeMC::lives::%player%}% &blives left." if {LifeMC::savior::%player%} is set: send "&a[LifeMC] &bYou have been revived by &6%{LifeMC::savior::%player%}%&b." clear {LifeMC::savior::%player%} stop on death of player: if victim is in world {@Death_Worlds}: wait a tick remove 1 from {LifeMC::lives::%victim%} if {LifeMC::lives::%victim%} is not 0: send "&a[LifeMC] &bYou died and lost a life. You have &c%{LifeMC::lives::%victim%}% &blives left." to victim stop set death message to "" broadcast "&a[LifeMC] &6%victim% &blost all his lives. If you want to revive him type &c""/revive %victim%""&b." kick victim due to "&cYou lost all your lives." stop on rightclick holding {@Action_Item}: if name of player's tool is {@Action_Item_Name}: if {LifeMC::lives::%player%} is more than or equal to {@Max_Lives}: send "&a[LifeMC] &cYou have the maximum amount of lives." stop add 1 to {LifeMC::counter::%player%} remove 1 {@Action_Item} named {@Action_Item_Name} from player if {LifeMC::counter::%player%} is {@Items_per_Life}: add 1 to {LifeMC::lives::%player%} set {LifeMC::counter::%player%} to 0 send "&a[LifeMC] &bYou got an extra life. You have &c%{LifeMC::lives::%player%}% &blives now." stop command /revive [<offlineplayer>]: aliases: ulecz description: Revives specific player. trigger: if player doesn't have the permission "lifemc.revive": send "&a[LifeMC] &cYou do not have the required permissions." stop if arg is not set: send "&a[LifeMC] &cCorrect usage: &7/revive <player>" stop if {LifeMC::lives::%arg%} is not set: send "&a[LifeMC] &cThe player &6%arg% &cdoes not exist!" stop if sender is console: add 1 to {LifeMC::lives::%arg%} set {LifeMC::savior::%arg%} to "CONSOLE" send "&a[LifeMC] &bYou revived &6%arg%&b." stop if {LifeMC::lives::%arg%} is more than 0: send "&a[LifeMC] &cThe player &6%arg% &cdoes not need your help!" stop if {LifeMC::lives::%player%} is 1: send "&a[LifeMC] &cYou have only &c1 life left!" stop add 1 to {LifeMC::lives::%arg%} set {LifeMC::savior::%arg%} to player remove 1 from {LifeMC::lives::%player%} send "&a[LifeMC] &bYou revived &6%arg%&b. You have &c%{LifeMC::lives::%player%}% &blives left." stop command /lives [<offlineplayer=%player%>]: aliases: zycia description: Shows current amount of lives. trigger: if player doesn't have the permission "lifemc.lives": send "&a[LifeMC] &cYou do not have the required permissions." stop if {LifeMC::lives::%arg%} is not set: send "&a[LifeMC] &cThe player &6%arg% &cdoes not exist!" stop if arg is "%player%": send "&a[LifeMC] &bYou have &c%{LifeMC::lives::%arg%}% &blives left." stop else: if player doesn't have the permission "lifemc.lives.other": send "&a[LifeMC] &cYou do not have the required permissions." stop send "&a[LifeMC] &bThe player &6%arg% &bhas &c%{LifeMC::lives::%arg%}% &blives left." stop command /givelife [<offlineplayer>] [<number>]: aliases: dajzycie description: Gives specific amount of life to a specific player. trigger: if player doesn't have the permission "lifemc.give": send "&a[LifeMC] &cYou do not have the required permissions." stop if arg 1 is not set: send "&a[LifeMC] &cCorrect usage: &7/givelife <player> <amount>" stop if arg 2 is not set: send "&a[LifeMC] &cCorrect usage: &7/givelife <player> <amount>" stop if {LifeMC::lives::%arg 1%} is not set: send "&a[LifeMC] &cThe player &6%arg 1% &cdoes not exist!" stop add arg 2 to {LifeMC::lives::%arg 1%} send "&a[LifeMC] &bYou gave &c%arg 2% &blives to the player &6%arg 1%&b. He has &c%{LifeMC::lives::%arg 1%}% &blives now." stop command /test: trigger: set {LifeMC::lives::%player%} to 2
-
command /t [<text>]: permission: chat.test permission message: &8&l>> &cNie masz uprawnien do tej komendy ! trigger: if arg 1 is set: if player has permission "chat.test": loop players in radius 15 around player: if loop-player has permission "chat.test": send "&7%player% &btest: &f%arg 1%" to loop-player
