Skript

Skript

743k Downloads

"Has Potion" condition producing error

itsleeoh opened this issue ยท 4 comments

commented

Skript/Server Version

v2.9.0-pre1

Bug Description

"Can't understand this structure..." error message is given when trying to load either example for the "Has Potion" condition.

Expected Behavior

Detect potion effect of speed, or any other potion effect

Steps to Reproduce

Load either of the 2 examples from the documentation into a skript file

if player has potion speed:
send "You are sonic!"

if all players have potion effects speed and haste:
broadcast "You are ready to MINE!"

Errors or Screenshots

errorSkript

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

My bad, i literally started working with skripts this week and have minimal experience so far

commented

bro this is not a error lol this is a skill issue you dont need %% dont report things here untill you asked for help in the discord https://discord.gg/fQNCq82m

commented

also all skripts need to start with a event

commented

As mentioned, this is a syntax issue/user error. You can find help at one of these links: https://github.com/SkriptLang/Skript?tab=readme-ov-file#relevant-links