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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
To do it you need QuarSk. And i think it's easier to check the potion effects the player has, not the ones he don't.Hello this is my code and i want someone to tell me how to know the active potions of player
Code:loop active potion effects of player: if potion type of loop-potion effect is not speed:
loop active potion effects of player:
if potion type of loop-potion effect is (potion effect):
#do...
didn't workTo do it you need QuarSk. And i think it's easier to check the potion effects the player has, not the ones he don't.
code_language.skript:loop active potion effects of player: if potion type of loop-potion effect is (potion effect): #do...
What is your server version? QuarSk only works for 1.8 - 1.11.didn't work
1.8What is your server version? QuarSk only works for 1.8 - 1.11.
Well... have you tried using this instead?
command /test:
trigger:
set {_potions::*} to all of the active potion effects on player
loop {_potions::*}:
loop-value contains "speed":
send "&aSpeed effect on you!" to player
Well... have you tried using this instead?
Its need Skellettcode_language.skript:command /test: trigger: set {_potions::*} to all of the active potion effects on player loop {_potions::*}: loop-value contains "speed": send "&aSpeed effect on you!" to player
In Skellett i think no. But in Skript 2.5.2 can do this without addons:Thank you but can i see the tier of this potion?
if "%player's potion effects%" contains "speed of tier 1":
send "&aSpeed I"
else if "%player's potion effects%" contains "speed of tier 2":
send "&aSpeed II"
set {_potions::*} to all of the active potion effects on player
if "%{_potions::*}%" is "SPEED":
send "&aSpeed I"
else if "%{_potions::*}%" is "SPEED 1":
send "&aSpeed II"