This is a example code similar to my main code, when I run /statsmoney it literally does nothing and sends nothing. (The placeholders work fine if I don't use the if {_playerBalance}... for example if I just send a message with %{_playerBalance}% it will show my balance correctly but with if ... it does not work) also no errors on reload, I'm using Ersatz to use Placeholders. Please help, thanks.
Code:
command /statsmoney:
trigger:
set {_playerBalance} to placeholder "vault_eco_balance"
if {_playerBalance} < 500:
send "&aYou are poor"
if {_playerBalance} > 500:
send "&aYou are rich (%{_playerBalance}%)"