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 community!

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

  1. M

    "on break of" doesnt work

    Try: on break: if event-block is glass: drop 1 diamond
  2. M

    Solved How to get the direction of a loop-block

    Hmm.. Every pumpkin with certain direction has custom ID.. So you have to find or try which ID is for which direction.. And then set loop-block to "<id>" parsed as block
  3. M

    Solved How to get the direction of a loop-block

    try set {citrouille_direction} to direction of location of loop-block
  4. M

    Skript with mods

    yes.. just add it to aliases-english.sk file in your skript folder # -- CD -- alpha case¦s = 9720 bravo case¦s = 9721 charlie case¦s = 9722 medical drop¦s = 9725 military drop¦s = 9726 minigun¦s = 9304 m4a1¦s = 9256 30-stanag¦s = 9307 ammo...
  5. M

    How to use a "tab" in text / string / chat?

    try this.. the character is: " ".. dont forget to change coding to UTF-8.. and if you want more you can find all spaces in character map.. default application installed with windows.. paste this to start menu(Win+S), or run menu(Win+R): "%windir%\system32\charmap.exe"..
  6. M

    cancel stone breaking animation ?

    I said.. here are some exapmles with it: https://forums.skunity.com/threads/mining-speed-of-a-block.2428/#post-5103 https://forums.skunity.com/threads/stop-block-break-from-starting.2870/#post-7346.. try it.. find there packet with current break animation stage, cancel it and send packet with...
  7. M

    Multiple "or"s

    @Efnilite its maybe not working because you need it like this ""string1", "string2", "string3" or "string4"" not ""string1" or "string2" or "string3" or "string4"".. so try this: command /gamemode <gamemode>: trigger: if arg 1 is "survival", "s" or "0": set player's...
  8. M

    Multiple "or"s

    +one new programmer :emoji_grinning::emoji_joy::emoji_joy: if ((arg-1 == "survival") || (arg-1 == "s") || (arg-1 == "0")) {}
  9. M

    Changing a variable item's display name changes original item, too ...

    hmm.. if you set some variable to "tool of player" its data which updates when player changes his tool.. and you set next vriable to name of current tool of player.. so it will be every time same.. so you have to change line 2: "set {_name} to display name of tool of player".. maybe im wrong but...
  10. M

    Solved Skript help - If player name is, then...

    name of player is string so you have to use: "NickName128" on place of command_block: if name of player is "CustomWorldYT", "Admin" or "Admin2": #I nedd the condition right there send "&cOK." to player #its ok when admin places command block else: send...
  11. M

    Client side Entity

    https://forums.skunity.com/threads/block-breaking.7463/ Look there
  12. M

    Client side Entity

    No.. I already posted this problem and this is not good way to do it.. For someone its working well but for me not.. 1. I can see "canceling" event... Ita visible and 2. Only I can see breaking animation(particles)..
  13. M

    Solved Glass breaking drops BROKEN

    No problem.. Im here for helping people :)
  14. M

    Solved Glass breaking drops BROKEN

    you want to make glass drops some item.. and glass by default doesnt dorp any items.. so you dont have to cancel event and set it to air.. it would be required when would you want to drop for example glass block from iron ore..
  15. M

    Solved Glass breaking drops BROKEN

    on break of plain_glass_block: drop 1 plain_glass_block at location of event-block stop on break of any glass block: drop 1 of event-block at location of event-block stop
  16. M

    Solved Glass breaking drops BROKEN

    try this: on break of any glass block: drop 1 event-block stop
  17. M

    Skript Help - Stripping a Variable

    Yes I know too.. But as I said, I have never before seen something like that, parsing as "test%number%"... By my logic its absolutly stupid and "wtf", but it works :emoji_joy::emoji_joy:.. Peace :emoji_relieved:
  18. M

    Skript Help - Stripping a Variable

    No, I didnt try it.. I thought its work and i thought that it returns "Chance: 13".. sorry.. This I have never seen before.. And if I have to be like that... ohh.. nothing.. i dont want to quarrel.. My and your code are working.
  19. M

    Skript Help - Stripping a Variable

    1. OK its working now. 2. "(probably, i cant test it bcs i getting error..)" 3. No, you are wrong set {_l} to "test123" parsed as number broadcast "%{_l}%" [17:23:33 INFO]: <none> 4. see 2.
  20. M

    Skript Help - Stripping a Variable

    But you cant parse string "Chance: 13" as int.. So.. 1. Your code is reporting error for me ({_c} can only be set to one object, not more) 2. By my logic "set {_c} to loop-value parsed as "Chance: %number%"" will set variable to "Chance: 13" 3. And if you have variable which is string ("Chance...