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
3Try this:
Code: Select all
INSERT INTO nyu_rcon_queue (detail,command,param1,param2) VALUES (CONCAT("ch_",new.OwnerID,".player.changeAlignment(-1);"),'exec_command','','');