Skript does not recognize Russian characters (lore)

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

WhyLian

Member
Jul 21, 2020
2
0
1
Russia
The the following code doesn't work. There I use the Russian word Vampire.

Code:
        if "%lore of attacker's tool%" contains "&7Вампир 3":
            send "vampire" to attacker
            chance of 100%:
                send "&8Ваш мечь высосал жизненные силы из противника, и передал их вам." to attacker
                set {_hp} to attacker's health
                add 3 to {_hp}
                set attacker's health to {_hp}

And here, the code works, but I already use the word "Vampire" in English...

Code:
        if "%lore of attacker's tool%" contains "&7Vampire 3":
            send "vampire" to attacker
            chance of 100%:
                send "&8Ваш мечь высосал жизненные силы из противника, и передал их вам." to attacker
                set {_hp} to attacker's health
                add 3 to {_hp}
                set attacker's health to {_hp}

I have no idea what to do...
 
Status
Not open for further replies.