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. G

    Item break on cactus

    How to prevent item break on cactus? I tried this: on damage of a entity: if "%victim%" is "dropped item": if "%damage type%" is "cactus": cancel event No error, but doesn't work. Help :D
  2. G

    Solved Piston extend in region

    Heyo, I can't seem to get this to work. Anyone that can help? :) on piston extend: set {_l} to location of event if {_l} is in region "spawn": cancel event
  3. G

    Player voting

    Hello, Should this code work? - It doesn't give any errors, but just want to make sure it does pick the user with the most votes. I wasn't able to troubleshoot it. {_voteplayer} should be the most voted player, when the loop is done. set {_no} to 0 loop {VoteList::*}...
  4. G

    Making my skript smaller

    Anyone can make this skript less lines? Just want to see what people could come up with. I can't think of a way to make it less lines. :emoji_alien: on right click: if player is sneaking: set {_item} to player's held item if {_item} is any chestplate or elytra...
  5. G

    Set Slot - Execute command not working

    Hello, I'm trying to execute a player command when clicking on a item in a GUI. My code: set slot 20 of player's current inventory to spawner named "&6Spawner" with lore "&a" then execute player command "/test" It won't accept this, nor with "then run command", or "then run...
  6. G

    Skript Help - Stripping a Variable

    Hello all. How do i strip a text variable like this,, from everyelse than the numbers after chance? {_1} = "blalfdk dsjds||Chance: 13||wsj1ldsjk" So i only have the 13 in a variable. Thanks in advance.
  7. G

    Skript Issue - Cursor Slot Expressions

    Hello all. Following is a issue with skripts cursor slot expression: on inventory click: if player's cursor slot is nether_star: send "1" if the lore of player's cursor slot contains coloured "&7whatever": if clicked item is iron pickaxe: It returns "cursor...
  8. G

    Number Format

    command /a: trigger: set {_bal} to 5200 set {_1} to the first 3 characters of {_bal} set {_2} to the last 2 characters of {_1} set {_1} to the first character of {_bal} send "%{_1}%,%{_2}%" Anyone knows why this returns <none>,<none>?
  9. G

    Clicking an item with another item

    Ive tried to solve this for a while now. Is there any to do following: Player goes into inventory pickups an unbreaking 3 book and clicks an diamond sword with the book. The book gets removed and the swords gets enchanted with unbreaking3.
  10. G

    Enchanting Items

    Hello. Is it possible to when you are clicking an diamond sword with an enchanted unbreaking 1 book, the diamondsword gets enchanted with unbreaking 1 and the book gets removed? I came up with this, but no luckc: On inventory click: set {_item2} to cursor item if {_item2} is enchanted...
  11. G

    Solved Variable with case sensitive usernames.

    You know when you set an variable to an players name, ex. "JackyChase" but in the variable it shows "jackychase". How do you make sure that the variable is with uppercase the right places in the name? How to make an username case sensitive in an variable? /Thanks/GToTheG
  12. G

    skq-geometry download link?

    Hello anyone have an download for skq-geometry addon??
  13. G

    Tool name

    on right click: name of player's tool is "&ahi": send "hi" else: send "nope" Why does this keeps sending nope when im haveing a item called &ahi
  14. G

    How to prevent Creative Inventory Duplicate

    How do i prevent the creative inventory duplicate feature?
  15. G

    SIDEBAR ERROR

    Get this error in console: 03.02 13:59:38 [Server] ERROR #!#! 03.02 13:59:38 [Server] ERROR #!#! [Skript] Severe Error: 03.02 13:59:38 [Server] ERROR #!#! 03.02 13:59:38 [Server] ERROR #!#! If you're developing an add-on for Skript this likely means that you have done something wrong. 03.02...
  16. G

    Solved GUI help..

    So i made this: ´´´ command /ex [<text>] [<integer>] [<player>]: executable by: console trigger: open chest with 3 rows named "&eKit:" to player-arg format slot 12 of player with 1 of light green clay named "&a&lACCEPTER" with lore "&7Klik for at accept...
  17. G

    Sign Execute command

    Hello. Now when the docs is down i need some help. How do you execute a console or player command, when rightclicking on a sign, with a speciel text on it? Like if the signs says Line1: &aHello It will execute a command. Thanks :)