#Disable players that are afk, win /giveaway rewards
1 messages · Page 1 of 1 (latest)
After hopeless hours trying to get worldguard to work with skript, I find that the expression if "%region at player%" contains "afk2" works fine. Just make sure your world name isn't called afk2 lol
However, if this isn't looped over and over until {winner} is not a player in afk2, then it's not doing its job.
Hope that helps 👍
You can use something like
set {_winner} to random element out of (all players where [region of input != region "afk2"])```
isn’t it better to use
does not contain
Depends if there's more than one region that contains the name "afk2", tho as it seems it is the only region, not really
yeah but usually the name isn’t actually that