So I have this:
When I perform a command, it syncs the stats I have with the mysql database, but it ain't working. I have the code over here, what's the issue though?:
When I perform a command, it syncs the stats I have with the mysql database, but it ain't working. I have the code over here, what's the issue though?:
code_language.skript:
loop all players:
update "UPDATE `Stats` SET `Stats`.`Deaths` = `Deaths`+%{deaths.%loop-player%}% WHERE `Deaths` = '%loop-player%'"
code_language.skript:
on death:
attacker is player
victim is player
add 1 to {deaths.%victim%}