diff options
author | Matheus Macabu <mkbu95@gmail.com> | 2013-07-04 19:19:52 -0300 |
---|---|---|
committer | Matheus Macabu <mkbu95@gmail.com> | 2013-07-04 19:19:52 -0300 |
commit | e8adea6f0cbad25b5ac21944b16099cce155d050 (patch) | |
tree | bf393e8b5ce364fb8f0524353b4e0f862ec68026 /doc | |
parent | 0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3 (diff) | |
download | hercules-e8adea6f0cbad25b5ac21944b16099cce155d050.tar.gz hercules-e8adea6f0cbad25b5ac21944b16099cce155d050.tar.bz2 hercules-e8adea6f0cbad25b5ac21944b16099cce155d050.tar.xz hercules-e8adea6f0cbad25b5ac21944b16099cce155d050.zip |
Implemented sitting set of script commands: sit(), stand(), issit() as per suggested in topic #1204. See documentation for more information on these commands.
Also fixed leftover from db_use_sql split.
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index f718298a2..2cb0a55c0 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2493,7 +2493,23 @@ Examples: // Outputs IP address of character "Silver". mes "Silver's IP: " + getcharip("Silver"); - + +--------------------------------------- + +*sit({"<character name>"}) +*stand({"<character name>"}) + +This function will force a character to sit/stand if it is standing/sitting. +If no player is specified, the attached player will be used. + +--------------------------------------- + +*issit({"<character name>"}) + +This function will return a number depending on the character's sitting state. +If the character is sitting, it will return 1, otherwise (standing) it will return 0. +In case no player is specified, the function will return the state of the attached player. + --------------------------------------- \\ 2,2 Item-related commands |