So I made a points script, and here it is.
on load:
message "Josiah's Pointer Skript 1.0.0 is on!"
command /pter-give <player> <number>:
trigger:
# Initializes variables to be used in strings
set player to arg-1
set pts to arg-2
if {%uuid of player%point} is not set:
message "Initializing points for %uuid of player%"
set {%uuid of player%point} to 0
message "Done initializing!"
add {pts} to {%uuid of arg-1%point}
message "Gave %uuid of arg-1% %{pts}% points!"
command /pter-remove <player> <number>:
trigger:
# Initializes variables to be used in strings
set player to arg-1
set pts to arg-2
if {%uuid of player%point} is not set:
message "Initializing points for %uuid of player%"
set {%uuid of player%point} to 0
message "Done initializing!"
remove {pts} from {%uuid of arg-1%point}
message "Removed %uuid of arg-1% of %{pts}% points!"
command /pter-points <player>:
trigger:
# Initializes variables to be used in strings
set player to arg-1
if {%uuid of player%point} is not set:
message "Initializing points for %uuid of player%"
set {%uuid of player%point} to 0
message "Done initializing!"
message "%uuid of player% has %{%uuid of player%point}% points!"
How to use
/pter-give (plr) (pts): Gives a player points.
/pter-remove (plr) (pts): Removes points from a player.
/pter-points (plr): Shows how many points a player has.