summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-04 08:22:53 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-04 08:22:53 +0000
commit1c5e4a6caf2e70592c80202e7222e895a67b5f10 (patch)
tree1de75be79bf2539b1bb55e460dc8d4b3504624d1 /doc/script_commands.txt
parent5a0c79ee6c863ffeed86c325d4ecd7708cc12b58 (diff)
downloadhercules-1c5e4a6caf2e70592c80202e7222e895a67b5f10.tar.gz
hercules-1c5e4a6caf2e70592c80202e7222e895a67b5f10.tar.bz2
hercules-1c5e4a6caf2e70592c80202e7222e895a67b5f10.tar.xz
hercules-1c5e4a6caf2e70592c80202e7222e895a67b5f10.zip
* Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 1599058c8..24fc0b7f2 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5917,6 +5917,17 @@ set @i, distance(100,200,101,202);
---------------------------------------
+*md5("<string>")
+
+Returns the md5 checksum of a number or string.
+
+Example:
+ mes md5(12345);
+ mes md5("12345"); // Will both display 827ccb0eea8a706c4c34a16891f84e7b
+ mes md5("qwerty"); // Will display d8578edf8458ce06fbc5bb76a58c5ca4
+
+---------------------------------------
+
*query_sql "your MySQL query", <array variable> {,<array variable>, ...};
*query_logsql "your MySQL query", <array variable> {,<array variable>, ...};