integer

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

    Permission or integer array inspect

    Hello I want to make the script detect the number from the player's Permission config. From this code if player has permission "inventoryweight.maxweight.150": execute console command "/lp user %arg-1% permission unset inventoryweight.maxweight.150" if...
  2. E

    Solved How to remove decimal remainder from a number

    I am creating a skript that divides a number by 3. in some cases, the number is not an integer. ex: 3333.33 How can I remove the .33? current code line: set {reb} to ({reb}/3)
  3. N

    Solved (Help) Unique NBT's between two items that share the same name and NBT

    Skript Version: 2.5.3 Skript Author: YourSpeedDealer Minecraft Version: 1.16.5 Full Code: command /m4a1: trigger: set {_M4A1} to 1 leather horse armor named "&bM4A1" add "{maxDurabilityM4:31}" to nbt of {_M4A1} set {ammo} to tag "maxDurabilityM4" of nbt of {_M4A1}...
  4. O

    Random Integer Between 2 Locations

    Ok so I am trying to make a skript where when you select a kit, it summons you to a random location between -22 9 5 and 25 0 56 and I know single number random integers but not 2 coords, and help?? Full Code: command /kits: trigger: open virtual chest with size 4 named "&9Kits" to...
  5. Baezor

    Solved Need Help Getting Integer Varibles In Lore

    Skript Version: 2.5 Skript Author: Bensku Minecraft Version: 1.15.2 Full Code https://pastebin.com/3kSFcyuv Problem If you look in the screenshot, you can see the variables the skript prints out. My problem is the lore variables are not being added to the defense, vitality, or max health...
  6. H

    Solved Can't compare 'player's exp level' with an integer

    Hello, I am having a problem with skript. on click: if the 4th line of the lore of the player's tool is "&8Level 3": if player's level is lower or equal to 2: damage player by 5 hearts send "&c&lYou are not high enough level to use this item." to the player...