#World guard skript

1 messages · Page 1 of 1 (latest)

storm hill
#

Hi please can someone helps me? i have error in line 15 and 18

#

error : if there are 2 player
and: on region:

gaunt gull
#

on region isn’t a syntax, it looks like you’re checking for ‘on death of a player’ and then checking the region

#

An if always ends with ‘:’, but that’s not a syntax, you have to specify where

harsh verge
#

this make me want to puke

#

just set the blocks by using a var

gaunt gull
#

That doesn't even work...

#

You can't set a worldguard pos1 and pos2 in console

storm hill
storm hill
#

if there are 2 player
didnt working

#

next error i here

#

12:28:19[INFO] Line 19: (duels.sk)
12:28:19[INFO] There's no region in an on death event
12:28:19[INFO] Line: if "%event-region%" contains "duels":

gaunt gull
#

if "%region at player%" contains " . . . ":

solid plover
#

read the error

harsh verge
#

HMM an error what does it say use attacker and/or victim what could this possibly mean!!! i gotta ask on the help discord and not at least read the docs

storm hill
harsh verge
#

no shit

#

it says that there are no player in a on damage/death event

storm hill
#

ok thanks

#

im new im only learning

#

sorry i know im stupid

harsh verge
#

i know people are new, or need help with things but the first thing to do is either read the docs or do the obvious thing, skript is basic english so not thaaat hard

storm hill
#

But can you help me please with this line?
if there are 2 players

harsh verge
#

wdym if there are 2 players?

storm hill
harsh verge
#

;-;

#

pretty sure this is not a possible thing

storm hill
harsh verge
#

🤷‍♂️

#

if skript doesn't recognise it i can't do nothing

#

try looking if some addons have it

storm hill
harsh verge
storm hill
harsh verge
#

well you could had done if it was on damage/death if attacker and victim are in region i'm not sure cuz i never looked into regions

storm hill
harsh verge
storm hill
#

ohh so this isn't what I'm looking for

harsh verge
#

yeah no xD

gaunt gull
#

then clear it afterward

storm hill
wary karma
#

We are not here to write code for you

storm hill
#

i need inpiration how it works