diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-11 22:37:07 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-11 22:37:07 +0000 |
commit | a05dbe62282aeae1610b33282e50569765867ccc (patch) | |
tree | 1d34fb1f281a63a2014b73f1223bea7206d7bb3a /doc/script_commands.txt | |
parent | 54a631211d176b0951d063753708a8bcb23edcbc (diff) | |
download | hercules-a05dbe62282aeae1610b33282e50569765867ccc.tar.gz hercules-a05dbe62282aeae1610b33282e50569765867ccc.tar.bz2 hercules-a05dbe62282aeae1610b33282e50569765867ccc.tar.xz hercules-a05dbe62282aeae1610b33282e50569765867ccc.zip |
- 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
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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", <array variable> {,<array variable>, ...}; +*query_logsql "your MySQL query", <array variable> {,<array variable>, ...}; 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. --------------------------------------- |