From e8adea6f0cbad25b5ac21944b16099cce155d050 Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Thu, 4 Jul 2013 19:19:52 -0300 Subject: 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 --- doc/script_commands.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'doc/script_commands.txt') 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({""}) +*stand({""}) + +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({""}) + +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 -- cgit v1.2.3-70-g09d2