contains

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

    Skript does not recognize Russian characters (lore)

    The the following code doesn't work. There I use the Russian word Vampire. if "%lore of attacker's tool%" contains "&7Вампир 3": send "vampire" to attacker chance of 100%: send "&8Ваш мечь высосал жизненные силы из противника, и передал их вам."...
  2. mmaalex22112

    Fetch and check region from player in water?

    Hey all, I've been recently trying to figure out how to check the region of a player who enters water. Right now I have this: on any movement: if block above the block below player is water: if block below region "pk1-aqua-w1": message "&8&lCrazed Man: &r&aThis is...
  3. mmaalex22112

    Solved Region name not being recognized properly.

    Hey all. For some reason, for the life of me I can't get this to work. I'm only ever getting the message one triggered. It seems like it is only reading the pk1 part of the name. on region enter: if "%region at player%" is "%{pk1_mine}%": if {pk1_mine.%player%} is true...
  4. B

    Solved Help with some characters can't replaced.

    Can someone help me with color format isn't replaced Method 1: #looping command /acac [<text>]: trigger: if arg is not set: set {_arg} to "null" set {_name} to "null" if arg is set: set {_arg} to "%arg%" set {_name} to "%arg%"...
  5. R

    Solved "if lore of player's held item contains" doesn't execute the following code

    So, I am trying to make some custom enchants and I ran into a problem, there is no errors in console, it just doesn't work. I have tried many different things to get it to work but nothing works. Code: every second: loop all players: if lore of loop-player's held item contains...
  6. CustomWorldYT

    Solved Skript help - Defining multiple list variables in "contains"

    Skript Version: 2.2 dev36 (latest) Skript Author: Bensku Minecraft Version: 1.12 I'm trying to do ranks for my FreeOP server in Skript. I can't use permissions, because it's FreeOP (where everyone is opped). I have in game command for setting rank. But now I want to define multiple list...
  7. CustomWorldYT

    Solved Skript help - If list variable contains...

    Skript Version: 2.2 dev36 (currently latest, downloaded from: https://github.com/SkriptLang/Skript/releases) Skript Author: CustomWorldYT (Me) Minecraft Version: 1.12.2 Spigot I'm trying to do an IP check system for my staff, my server is FreeOP and so it's running offline mode. The problem is...
  8. P

    Solved check message in chat

    How to check if message contains a text like "abcABC678" but considering large letters {konkursik::kod} = "aKeQ6O7" if message contains "%{konkursik::kod}%":