Search results

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  1. gangula

    Finding values

    Hello, here is an example script: on damage: set {_name} to uncolored name of victim: if {_name} contains "Zombie": replace "[" and "★ " and "] " and "Zombie" with "" in {_name} set {_level} to {_name} parsed as number send "Level of Zombie is %{_level}%" to...
  2. gangula

    How to change item amount

    ))
  3. gangula

    Solved Selectors and arg-1

    Понимаю тебя, тоже чувствовал себя глупым когда пришел сюда)). Политический сервер звучит интересно, возможно я как-нибудь зайду к вам поиграть. Всегда пожалуйста. ::* - список Например создадим команду для выбора победителя. command winner: trigger: loop all players: #лопаем всех...
  4. gangula

    Solved if player contais haste

    Попробуй этот код? on place: add location of event-block to {PlacedBlocks::*} #добавляет координаты блока в лист on break: if location of event-block contains {PlacedBlocks::*}: #проверяет наличие координатов блока в листе remove location of event-block from {PlacedBlocks::*}...
  5. gangula

    Solved Selectors and arg-1

    К сожалению, за скоребоарды я не шарю. Для чего ты вообще используешь теги скоребоардов? Правильный пример твоей команды: command infect <text> <player>: permission: op trigger: if "%arg-1%" is "Zombie": if the player doesn't have the scoreboard tag "Z"...
  6. gangula

    How to change item amount

    Use: (amount) of {_drop} set {_drop} to player's tool drop 1 of {_drop} 1 block up event-block without velocity
  7. gangula

    Solved Problem with testing if the player is in the correct world

    Use: if world of player is "[world]": Example: command world: trigger: if world of player is "MyClassicSurvival": give diamond to player else if world of player is not "MyClassicSurvival": heal player
  8. gangula

    Solved Selectors and arg-1

    Он говорит о том, что {_sick} это локальная переменная. Она действует только там, где ты её впервые использовал. Также локальная переменная {_Sick} не будет работать, если ты её ранее не установил. Для примера две команды: command heal: trigger: set {_player} to player #здесь мы...
  9. gangula

    Solved if player contais haste

    Привет. Для записи блоков, которые были поставлены игроком лучше всего использовать лист переменных, а не сами переменные. С листом переменных можешь ознакомиться тут - https://skripthub.net/tutorials/31 Для примера: on place: add location of event-block to {PlacedBlocks_%player%::*}...
  10. gangula

    Solved UTF-8 blocking

    It's working, it's finally working! Thank you very much, I've been digging through the documentation for three days, but now I've finally been able to implement my idea
  11. gangula

    Solved UTF-8 blocking

    Script Version (do not put latest): 2.6.3 Minecraft Version: 1.16.5 I searched all the documentation, but I never found how to block utf-8 characters in the command argument.
  12. gangula

    Create corpse problem

    Yes, many plugins have not been updated, but I don't think that prevents them from working. CorpseReborn is a separate plugin. But Skellet allows you to create corpses using it. Unfortunately, the /spawncorpse command cannot be entered in the console. Thanks for your reply.
  13. gangula

    Create corpse problem

    Script Version: 2.6.1 Script Author: Bensku Minecraft Version: 1.12.2 Full Code: on death: create corpse with player data victim at victim location with id victim Description: Hello. Recently I tried to create a corpse using Skellet and Corpsereborn and ran into a problem. I can't create...
  14. gangula

    Solved Tree problem

    Thank you, the transition to Skript 2.6 helped
  15. gangula

    Solved Tree problem

    Script Version: 2.6.1 Script Author: Bensku Minecraft Version: 1.12.2 Full Code: on join: if {log.%player%} is not set: set {log.%player%} to 0 on place of jungle log: if {log.%player%} <= 6: add 1 to {log.%player%} if {log.%player%} = 7: cancel event...