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

    Displaying a item in chat

    Not quite what I'm looking for.. Im trying to display this items lore/enchantments as well when you hover over the items name Sorry I should have made that clear when I started this post Basically want a recreation of this https://www.spigotmc.org/resources/skript-itemtochat.28070/
  2. SkRATZ

    Solved Read the level of the enchant.

    It doesn’t need to “read” the lore because of the variable {fortune.%player%}
  3. SkRATZ

    Solved Read the level of the enchant.

    This maybe? variables: {fortune.%player%} = 0 {fortunemax} = 5 command /debug: trigger: set {fortune.%player%} to 5 command /upgrade: #Assuming you had a similar command trigger: if player's held item is a pickaxe: set {_x} to 0 loop...
  4. SkRATZ

    Solved Read the level of the enchant.

    create a variable to record the enchant level: variables: {fortune.%player%} = 0 command /debug: trigger: set {fortune.%player%} to 2 on break: if {fortune.%player%} is not 0: set {_x} to {fortune.%player%} * 2 - 1 #Remove the - 1 if you cancel the event...
  5. SkRATZ

    Displaying a item in chat

    Basically wanted to display the player's held item in chat with a command or a message such as [item] or /item on chat: cancel event set {_message} to message set {_item} to player's held item if player's held item is not air: if message contains "[item]"...
  6. SkRATZ

    Solved Deleting duplicates from text

    Im wanting to delete duplicates, instead it just loops through and displays multiple of the same text command /arena <text> [<text>]: trigger: if arg-1 is "list": set {_num} to 1 set {_slot} to {_num} - 1 open virtual chest with size 3 to player...
  7. SkRATZ

    Solved Using a variable in a set slot

    Im trying to figure out how to use a variable instead of a number. Heres a piece of my code: format gui slot 15 of player with book named "&cShop" to run: close player's inventory open virtual chest with size 3 named "&cShop" to player format gui slot...
  8. SkRATZ

    Solved Finding out if something already exist in a list

    Ah that makes sense ty
  9. SkRATZ

    Solved Finding out if something already exist in a list

    I just need some help finding out if something exist in a list #example code Command /example <text>: trigger: if arg-1 exist in {This::*}: stop else if arg-1 is set: add arg-1 to {This::*}
  10. SkRATZ

    Grabbing info from .log files

    Is there any way to do it without SkUtilities?
  11. SkRATZ

    Grabbing info from .log files

    Im trying to find a way to grab some text that is stored in a .log file. I couldnt find any ways online #example code options: log: alog.log on chat: log message to "{@log}" command /messagelog <offline player>: trigger: After this I cant find out what to do.