Recent content by AndreasLK

  • 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. A

    Function

    Seems a bit complicated but together with the other response I got it seems like I may understand it now. Thank you very much! I'll see if it works. Thank you!
  2. A

    Function

    Hi. I'm only now starting on functions, could anyone help me with why this doesn't work? Thank you! function gui(title: text): wait 1 tick open chest with 5 rows named "%{_title}%" to player wait 2 tick set {_slot} to 0 loop 24 times: if {_slot} is 10...
  3. A

    Solved Crafting table with custom name

    I'm creating a script where I would like to give a crafting table a custom name (In the GUI) and I can't seem to make it work. Any suggestions? (P.S. In older version you could just give a crafting table a name but in 1.16 I can't make it work) This is my solution so far, but I'm not quite...
  4. A

    Loop blocks in sphere around player

    If I use "loop blocks in radius 25 of player" that will take way too much server memory because it loops all the blocks inside that radius. I want to loop the blocks on the edge of the sphere
  5. A

    Loop blocks in sphere around player

    I need to loop blocks in a sphere around the player, but I do not want to loop the blocks inside the sphere, as it causes too much lag.
  6. A

    Solved How do I get location of targeted block without XYZ

    This will be used to summon a mob using a console command, but for that i need the location without "X:, Y:, Z:" command /value [<text>]: trigger: message "%location of targeted block%" set {_target} to location of targeted block message "%{_target} parsed as...
  7. A

    Can't set items in a player's slot to variable

    Thank you so much, sir! I really appreciate your help! Slight problem..... It doesn't work even if I put "of" in......
  8. A

    Can't set items in a player's slot to variable

    Sorry. Forgot to mention it's 1.8.8 And I've tried using {} and %{}% Any other suggestions?
  9. A

    Can't set items in a player's slot to variable

    open chest with 3 rows named "&6&lKøb" to player wait 1 tick format slot 0 of player with green wool named "&a&l+" to run [set {crypto.%player%.amount} to {crypto.%player%.amount}+1]->[format slot 1 of player with black wool named "&7&l%{crypto.%player%.amount}%" to...
  10. A

    Removing item from list

    remove {shop.sign.%location of event-block%} from {shop.signs::*} This does not work. How do I remove a specific thing from a list?
  11. A

    Is there anyway better to do this?

    Here's all my code. It's for a custom sign shop. on rightclick on sign: if {sign.%player%} is "true": if {%2nd line of event-block%} is not set: set {%2nd line of event-block%} to 2nd line of event-block set {%2nd line of event-block%} to 2nd line of...
  12. A

    Solved Sign shop with dynamic price not working

    I used "parsed as number" to make it work Thank you so much! You are my hero!
  13. A

    Solved Sign shop with dynamic price not working

    I tried to do this : command /test [<TEXT>] [<TEXT>]: trigger: set {_high} to arg 1 set {_low} to arg 2 set {_price} to random number between {_low} and {_high} message "%{_price}%" and the output is just "<none>"
  14. A

    Solved Sign shop with dynamic price not working

    on rightclick on sign: if {sign.%player%} is "true": set {%2nd line of event-block%} to 2nd line of event-block add {%2nd line of event-block%} to {shop.signs::*} set {%2nd line of event-block%.high} to 3rd line of event-block set {%2nd line of...
  15. A

    Solved Problems with signs

    Hello. Sorry about that. I'm new here. I have a new problem. I want to use some of the lines of an already placed sign, do you know how to do that? Why is that whenever I put a problem in here I solve it immediately. It's magic. Thanks