diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-22 01:43:08 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-22 01:43:08 +0000 |
commit | 8dd2205933736e7e0124c83151c50450a6f05463 (patch) | |
tree | f4da0045bb000571467ee82a18d1f647da2ae18f /doc/script_commands.txt | |
parent | bf3c2445e0f25db026c22fe10e31250e7da7a2d1 (diff) | |
download | hercules-8dd2205933736e7e0124c83151c50450a6f05463.tar.gz hercules-8dd2205933736e7e0124c83151c50450a6f05463.tar.bz2 hercules-8dd2205933736e7e0124c83151c50450a6f05463.tar.xz hercules-8dd2205933736e7e0124c83151c50450a6f05463.zip |
* Added a sanity check for MAX_ZENY (doesn't compile if too big).
* Redid the buildin_query_sql function. (fixes bugreport:81).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11268 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 5acb3e883..c236adbb7 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5871,9 +5871,9 @@ set @i, distance(100,200,101,202); --------------------------------------- -*query_sql "your MySQL query", <array name>{,<array name>{; +*query_sql "your MySQL query", <array variable> {,<array variable>, ...}; -Returns up to 127 values into array and return the number of row +Puts up to 128 rows of values into the arrays and returns the number of rows. Example: set @nb, query_sql("select name,fame from `char` ORDER BY fame DESC LIMIT 5", @name$, @fame); |