#Help with combat log no action bar
1 messages · Page 1 of 1 (latest)
Instead of a boolean check if the timer is set, and delete it after 0
Use :: not .
Use uuids
Why have 2 lines for the action bar, just send it once
you need another percent sign in the red circled areas
before the first {, after last }
@mellow laurel Can you please explain your suggestions I am pretty new to this đ
Percentages tell skript to not literally put that text there, but to take whatâs inside and figure out what it actually is
So should I add those percentages?
List variables are much more versatile, no reason to not use them. Separate sections in your variables with :: not . ({balance.%player%} -> {balance::%player%})
UUID stands for unique user ID, basically a serial number for your minecraft account. Using this prevents the variables from being âlostâ when someone changes their username.
{balance::%player%} = {balance::bob} if the player changes their username from Bob to Alice, their balance will then be saved as {balance::alice}, and they will âloseâ the previous value stored under their old name. {balance::%playerâs uuid%} = {balance::1234} no matter what username.
Instead of on quit: if {inCombat::%playerâs uuid%} = true: broadcast â%victim% disconnected during combatâ, use on quit: if {combatLogTimer::%playerâs uuid%} is set: broadcast â%victim% disconnected during combatâ
instead of send action bar â%{number}%â to player if a = b: add 1 to {number} send action bar â%{number}%â to playeruse if a = b: add 1 to {number} send action bar â%{number}%â to player