Demote User (Effect) — skript-luckperms
Addon: skript-luckperms · Category: Effect · Since: 1.0
Syntax
demote user [%-luckpermsuser%] (along|on) track %luckpermstrack%Description
Demotes a user along a track. If the user is not on the track nothing will happen.
Examples
function example(p: offlineplayer,track: string):
set {_lp} to luckperms user from {_p}
edit user {_lp}:
demote user {_lp} along track {_track}
if {_p} is online:
send "You were demoted on track %{_track}%!" to {_p}