#Please help

1 messages · Page 1 of 1 (latest)

young raven
#
 execute console command "/scoreboard players reset %player% time"

on join:
 execute console command "/scoreboard players set %player% time %{playertime::player}% "```
#

Ive currently got that

#

i think i have the join bit done

#

I need help with the quit bit

#

Like i need someone to add it so when you leave it sets your scoreboard to the variable {playertime::%player%}

#

Ive got to go now

signal notch
#

dont use console commands

#

use skbee scoreboards

#

also, if this is all you have you need to set the {playertime::player} variable.

#

and you need % around player, and i would use uuids

late ice
young raven
#

I dont really feel like that is a command that would work

#

bu t ill try!

#

This doesnt work osrry

young raven
#

Like add 1 to it every second

#

@signal notch

#

Ive got that

#

to do it

#

but could skbee do it

#

Before logging out:

young raven
#

It just resets and dont set it back to what it was

young raven
#

@signal notch ?

signal notch
#

You can always read the docs if you would like to figure out how to do something

#

But if you want it to increase every second, please dont loop all players in a periodical

young raven
young raven
signal notch
#

I am, but still no need to ping

young raven
#

Oki 😄

#

sorry

signal notch
young raven
#

most of it really

signal notch
#

Send the code you currently have

young raven
#

Ok

#

on quit:
execute console command "/scoreboard players reset %player% time"

on join:
execute console command "/scoreboard players set %player% time %{playertime::player}% "

#

I have a command block

#

for the scoreboard

signal notch
#

And, you basically want a playtime

young raven
#

and adding the time

signal notch
young raven
#

O

signal notch
#

You shouldnt need to use console commands or command blocks, skript has support for a lot of features

#

Like scoreboards

young raven
#

can it remove a palyer from the scoreboard when they leave?

#

and add them back on it when they rejoin?

young raven
#

hello?

signal notch