#command problem (still unfixed)
1 messages · Page 1 of 1 (latest)
maybe this but iirc SkJade isn't up to date https://skripthub.net/docs/?id=5489
Don't use SkJade
WorldBorder - Stats (Expression) - SkBee
oops
need the link not the title
Get/set different stats of a world border.
damage amount = amount of damage a player takes when outside the border plus the border buffer.
damage buffer = amount of blocks a player may safely be outside the border before taking damage.
size = border to a square region with the specified side length in blocks.
warning distance = distance that...
mb missed that one
also I thought skbee was for virtual borders bc that was almost all there was on the docs
🤷♂️
I used this
command /wbcheck:
trigger:
set {_border} to world border size of world "world"
send "&aThe current world border size is: %{_border}% blocks" to player
and its outputting this
how do i fix that
isnt the set {_border} .. line giving you an error?
also it's size of world border of world "world"
actually yea
i am getting an error
so how would i put that in
im new to skript
😭
mate
you set {_border} to that
i got the rror
so this
command /wbcheck:
trigger:
set size of world border of world "world"
send "&aThe current world border size is: %{_border}% blocks" to player
no
command /wbcheck:
trigger:
set size of world border of world "world" to world border size of world "world"
send "&aThe current world border size is: %{_border}% blocks" to player
no
im gonna crash out
you wanna set {_border} to this right?
yea
I would recommend you learning the basics of skript first
because if you don't know how to set a variable to something..
https://sovdee.gitbook.io/skript-tutorials/core-concepts/variables
ya should read that
mate
can you just output what i have to put in. I'm not tryna go through the entirety of skript
no, you can read what I sent, the answer is literally right there.
{variable} in your case would be {_border}
and 1 would be size of world border of world "world"
the screenshot was taken from this
command /wbcheck:
trigger:
set {_border} to size of world border of world "world"
send "&aThe current world border size is: %{_border}% blocks" to player
?
uh sure
umm also would there be a way to give it the full border size by dividing the number by dividing it by 2
bc if i do /worldborder set 10000 (5,000 blocks)
in my mc server
send the error
skript is making me look mentally challenged
no, I meant {_border} / 2 in the % where you're sending it
add a space after the /
command /wbcheck:
trigger:
set {_border} to size of world border of world "world"
send "&aThe current world border size is: %{_border / 2}% blocks" to player
you gotta put the / 2 outside the }
k
like here
so still behind the percent
command /wbcheck:
trigger:
set {_border} to size of world border of world "world"
send "&aThe current world border size is: %{_border} /2 % blocks" to player
Good job 
thx
