stop if thing contains other thing

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

ghkhgkajtgfhjkcbg

New Member
Mar 6, 2023
7
0
1
17
the title is a bit confusing but I will explain.
Basically I am trying to make an Infuse SMP skript and it works for the most part, just whenever I get a kill or die I can get the same effect twice, how do I prevent this. I have tried looping it but I don't know how loops work so I've had no success with that.
Code in code box.
If {effects::%uuid of victim/attacker%::*} contains the effect already then it needs to reroll until it finds one the variable doesn't have
 

Attachments

  • infuse3.sk
    4.4 KB · Views: 80
Status
Not open for further replies.