What i want is that it says 1,000 instead of 1000 in my variable {gold::%player%} I found this skript:
but how do i make it work for my variable?
but how do i make it work for my variable?
- function spaced(n: text) :: text:
- set {_s::*} to split {_n} at "."
- if {_s::*} is not set:
- return a({_n})
- else:
- return "%a({_s::1})%.%{_s::2}%"
- function a(b: text) :: text:
- if length of {_b} > 3:
- return "%a(first length of {_b} - 3 characters of {_b})%,%last 3 characters of {_b}%"
- return {_b}