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.

Feed effect don't work

Discussion in 'Skript' started by Aidanete, Jul 7, 2018.

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

    Aidanete Active Member

    Joined:
    Apr 11, 2017
    Messages:
    139
    Likes Received:
    10
    Hello, I'm doing a script but it doesn't work properly because of this line of code, it is supposed to feed the player and is practically the same in the skript documentation in this page: http://skriptlang.github.io/Skript/effects.html#EffFeed

    Code (Skript):
    1. on rightclick:
    2.     player is holding a raw porkchop:
    3.         if {rpvp.%player%.ingame} is 1:
    4.             remove raw porkchop from player's inventory
    5.             feed the player by 4 beefs
    Please, help me, I will thank you a lot

    The error:
    Can't understand this condition/effect: feed the player by 4 beefs
     
  2. PatoFrango

    PatoFrango Active Member

    Joined:
    Jul 12, 2017
    Messages:
    240
    Likes Received:
    14
    Do you have the latest bensku fork installed?
     
  3. Aidanete

    Aidanete Active Member

    Joined:
    Apr 11, 2017
    Messages:
    139
    Likes Received:
    10
    Yes, if isn't that the case it won't work any stuff on the server, because I needed to install the bensku fork for skript to work on my server
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    Ok i just copied and pasted your code on a test server to make sure it works and it does, no errors.
    Can you please answer these questions, (without saying "latest")

    Which Skript version/author are you using?
    Which server software/version are you using?
     
  5. Aidanete

    Aidanete Active Member

    Joined:
    Apr 11, 2017
    Messages:
    139
    Likes Received:
    10
    Skript 2.2-dev33
    Spigot 1.12.2

    This is the only info I know
     
  6. PatoFrango

    PatoFrango Active Member

    Joined:
    Jul 12, 2017
    Messages:
    240
    Likes Received:
    14
    Yeah, you don't have the latest version...
    Just to be sure, download the latest version of bensku's fork and then test it to see if it works. The link can be found here.
     
  7. DampfWaffel

    DampfWaffel New Member

    Joined:
    Jan 26, 2017
    Messages:
    8
    Likes Received:
    1
  8. Aidanete

    Aidanete Active Member

    Joined:
    Apr 11, 2017
    Messages:
    139
    Likes Received:
    10
Thread Status:
Not open for further replies.

Share This Page

Loading...