From a05dbe62282aeae1610b33282e50569765867ccc Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 11 Dec 2007 22:37:07 +0000 Subject: - Added query_logsql script command to perform sql commands using the log db connection. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11892 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 40c8e9224..285148a14 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -92,6 +92,8 @@ //= Added script function 'strnpcinfo' [ultramage] //= 3.10.20071122 //= Added setnpcdisplay. [FlavioJS] +//= 3.10.20071211 +//= Added query_logsql. [Skotlex] //===== Description ======================================= //= A reference manual for the eAthena scripting language, //= sorted out depending on their functionality. @@ -5953,6 +5955,7 @@ set @i, distance(100,200,101,202); --------------------------------------- *query_sql "your MySQL query", {,, ...}; +*query_logsql "your MySQL query", {,, ...}; Puts up to 128 rows of values into the arrays and returns the number of rows. @@ -5967,6 +5970,9 @@ mes "5."+@name$[4]+"("+@fame[4]+")"; Note: In the TXT version it doesn't fill the array and always return -1. Note: Use $ as suffix in the array to receive all data as text. +Note: The difference between query_sql and query_logsql is that the latter +uses the sql connection to the log database, and should be used when you want +to query the server log tables. --------------------------------------- -- cgit v1.2.3-60-g2f50