Page 1 of 1

TTmod mariaDB commands

Posted: 29 Apr 2018, 01:14
by SpawN
How do I add a request to execute a command in a trigger in the database?

INSERT INTO nyu_rcon_queue (command) VALUES (CONCAT("ch_",new.OwnerID,".player.changeAlignment(1);"));

Right or wrong?

Re: TTmod mariaDB commands

Posted: 29 Apr 2018, 03:34
by Nyuton
I have no idea what you're trying to do.

Re: TTmod mariaDB commands

Posted: 11 May 2018, 01:20
by Stealthinger
Try this:

Code: Select all

INSERT INTO nyu_rcon_queue (detail,command,param1,param2) VALUES (CONCAT("ch_",new.OwnerID,".player.changeAlignment(-1);"),'exec_command','','');