Hey I'm new to MySQL
i need this because im creating a coins system for my bungee network. but i don't know anything.. pls help
may there is someone who has the time to explain. These codes I found in the forums:
I found this in HiiqhFive coins.sk but i dont understand anything...
[doublepost=1494300682,1494256409][/doublepost]
[doublepost=1494414693][/doublepost]
[doublepost=1494559494][/doublepost]Is there any idea?
code_language.skript:
on script load:
set mysql host to "localhost"
set mysql username to "Skript"
set mysql password to "rNJ0DBfO7go4loq2"
set mysql database to "Skript"
connect to mysql
set {_test} to mysql result of query "SELECT * FROM Customers, Example"
set {_final} to mysql string "Customers" in {_test}
set {_final2} to mysql integer "Example" in {_test}
broadcast "%{_final}% and %{_final2}%"
code_language.skript:
update "CREATE TABLE IF NOT EXISTS `language` (`uuid` varchar(255), `amount` float(20))"
update "ALTER table `cash` ADD id int NOT NULL AUTO_INCREMENT primary key FIRST"
update "ALTER table `cash` ADD UNIQUE (id, uuid)"
Does anyone have a clue how to use this stuff?Hey im new to MySQLi need this because im creating a coins system for my bungee network. but i don't know anything.. pls help
I found this in HiiqhFive coins.sk but i dont understand anything...code_language.skript:on script load: set mysql host to "localhost" set mysql username to "Skript" set mysql password to "rNJ0DBfO7go4loq2" set mysql database to "Skript" connect to mysql set {_test} to mysql result of query "SELECT * FROM Customers, Example" set {_final} to mysql string "Customers" in {_test} set {_final2} to mysql integer "Example" in {_test} broadcast "%{_final}% and %{_final2}%"
code_language.skript:update "CREATE TABLE IF NOT EXISTS `language` (`uuid` varchar(255), `amount` float(20))" update "ALTER table `cash` ADD id int NOT NULL AUTO_INCREMENT primary key FIRST" update "ALTER table `cash` ADD UNIQUE (id, uuid)"
[doublepost=1494414693][/doublepost]
Hey I'm new to MySQLi need this because im creating a coins system for my bungee network. but i don't know anything.. pls help
may there is someone who has the time to explain. These codes I found in the forums:
I found this in HiiqhFive coins.sk but i dont understand anything...code_language.skript:on script load: set mysql host to "localhost" set mysql username to "Skript" set mysql password to "rNJ0DBfO7go4loq2" set mysql database to "Skript" connect to mysql set {_test} to mysql result of query "SELECT * FROM Customers, Example" set {_final} to mysql string "Customers" in {_test} set {_final2} to mysql integer "Example" in {_test} broadcast "%{_final}% and %{_final2}%"
[doublepost=1494300682,1494256409][/doublepost]code_language.skript:update "CREATE TABLE IF NOT EXISTS `language` (`uuid` varchar(255), `amount` float(20))" update "ALTER table `cash` ADD id int NOT NULL AUTO_INCREMENT primary key FIRST" update "ALTER table `cash` ADD UNIQUE (id, uuid)"
Does anyone have a clue how to use this stuff?
[doublepost=1494559494][/doublepost]Is there any idea?