1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skript does not recognize Russian characters (lore)

Discussion in 'Skript' started by WhyLian, Nov 25, 2020.

Thread Status:
Not open for further replies.
  1. WhyLian

    WhyLian Member

    Joined:
    Jul 21, 2020
    Messages:
    2
    Likes Received:
    0
    The the following code doesn't work. There I use the Russian word Vampire.

    Code (Text):
    1.         if "%lore of attacker's tool%" contains "&7Вампир 3":
    2.             send "vampire" to attacker
    3.             chance of 100%:
    4.                 send "&8Ваш мечь высосал жизненные силы из противника, и передал их вам." to attacker
    5.                 set {_hp} to attacker's health
    6.                 add 3 to {_hp}
    7.                 set attacker's health to {_hp}
    And here, the code works, but I already use the word "Vampire" in English...

    Code (Text):
    1.         if "%lore of attacker's tool%" contains "&7Vampire 3":
    2.             send "vampire" to attacker
    3.             chance of 100%:
    4.                 send "&8Ваш мечь высосал жизненные силы из противника, и передал их вам." to attacker
    5.                 set {_hp} to attacker's health
    6.                 add 3 to {_hp}
    7.                 set attacker's health to {_hp}
    I have no idea what to do...
     
  2. DeadlySkyLord

    DeadlySkyLord Member

    Joined:
    May 23, 2020
    Messages:
    11
    Likes Received:
    0
    Can i see the code where you give the item with the lore to the player?
     
Thread Status:
Not open for further replies.

Share This Page

Loading...