· 8 years ago · Jan 16, 2018, 07:50 PM
1 script options:
2 $ db url jdbc:mysql://89.203.***.***:3306/webovky/vip
3 $ db username <username>
4 $ db password <password>
5
6 on load:
7 update "CREATE TABLE IF NOT EXISTS `VIP`.`itnetworktut` ( `Datum` TEXT NOT NULL , `Hodnota` TEXT NOT NULL , `Hrac` TEXT NOT NULL ) ENGINE = MyISAM;"
8
9
10 command /vipadd [/HRAC/]:
11 aliases: /vip %player%
12 trigger:
13 if arg-1 is not set:
14 send "Niekto zabudol meno ? wat"
15 else:
16 update "INSERT INTO `VIP`.`itnetworktut` (`Datum`, `Hodnota`, `Hrac`) VALUES ('%now%', '%arg-1%', '%player%');"