Feed effect don't work

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

Aidanete

Active Member
Apr 11, 2017
139
10
0
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_language.skript:
on rightclick:
    player is holding a raw porkchop:
        if {rpvp.%player%.ingame} is 1:
            remove raw porkchop from player's inventory
            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
 
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_language.skript:
on rightclick:
    player is holding a raw porkchop:
        if {rpvp.%player%.ingame} is 1:
            remove raw porkchop from player's inventory
            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
Do you have the latest bensku fork installed?
 
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
 
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?
 
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?

Skript 2.2-dev33
Spigot 1.12.2

This is the only info I know
 
Skript 2.2-dev33
Spigot 1.12.2

This is the only info I know
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.
 
Status
Not open for further replies.