I have 1 quick question, is it also possible to acces a database table without use the name of a player?No problem![]()
Because i also have a databse table for the game i am making wich saves information about things but not about like the player
This is the skript about creating it so you know whats about:
Code:
set {_king} to "NONE"
set {_queen} to "NONE"
set {_spawnloc} to "NONE"
set {_inhabitants} to "0"
set {_coins} to "0"
broadcast "test"
execute "INSERT INTO WoW_Countrystats (`Name`, `King`, `Queen`, `Spawnloc`, `Inhabintants`, `Coins`) VALUES (%arg-2%, %{_king}%, %{_queen}%, %{_spawnloc}%, %{_inhabitants}%, %{_coins}%)" in {WoWDB}
and it creates this:
http://prntscr.com/nfvul4
So now for example i want to get the king from the country "Netherlands"
How can i get the value of the King from the row Netherlands?