#Just trying to set a player's scoreboard
1 messages · Page 1 of 1 (latest)
why are your %%'s like that
Teh's ZoruMug [PING✔] suggests that you read this embed
In Skript, the purpose of surrounding an expression in % signs is letting Skript know you want it to be parsed as an expression and insert its value into the string or variable you've put it in.
give dirt to %player%
send "Hey there player" to %arg-1%
kill %{_entity}%```
Here, the % signs are not inside strings or variable names and should therefore be removed.
broadcast "%player% has joined"
send "%{_variable::*}%" to player
set {variable::%uuid of player%} to 10```
Here, the % signs are being use properly, as a means to put expressions inside strings and variable names.
Is it like
f"Number: {number}"
From python
Uhh
command /donatetime <player> <number>:
executable by: players and console
trigger:
set arg-1's scoreboard "donatedtime" to arg-2
Someone please i have no clue why it doesn't want to work with arg-1 arg-2
what addon are you using scoreboards from? Skript doesn't have any on its own
I highly recommend checking out SkBee's scoreboard stuff.
https://www.github.com/ShaneBeee/SkBee/wiki
Try arg 1 and arg 2
-# Without the -
that's true, sometimes it'll think you're doing arg minus 1 or 2 or whatever
minecraft vanilla scoreboard
yeah, that's not how you use Skript to interact with them. you need an addon, like SkBee as I mentioned (check the wiki, there are examples)