diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-01 06:11:52 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-01 06:11:52 +0000 |
commit | 37343d0ae89a73c53b80ea670bc4d76249236aba (patch) | |
tree | de105cad567af432cfb799b70d5bcb79b9edf3e5 /doc/script_commands.txt | |
parent | 4820a3c8ff1def1672f9a7a2234db688172765f5 (diff) | |
download | hercules-37343d0ae89a73c53b80ea670bc4d76249236aba.tar.gz hercules-37343d0ae89a73c53b80ea670bc4d76249236aba.tar.bz2 hercules-37343d0ae89a73c53b80ea670bc4d76249236aba.tar.xz hercules-37343d0ae89a73c53b80ea670bc4d76249236aba.zip |
- Added 'showdigit' documentation (command was added in r15009, ea:15001).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15342 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index cfe409d99..ca903e5d5 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -6827,6 +6827,33 @@ again. --------------------------------------- +*showdigit <value>{,<type>}; + +Displays given numeric 'value' in large digital clock font on top of +the screen. The optional parameter 'type' specifies visual aspects +of the "clock" and can be one of the following values: + + 0 - Displays the value for 5 seconds (default). + 1 - Incremental counter (1 tick/second). + 2 - Decremental counter (1 tick/second). Does not stop at zero, + but overflows. + 3 - Decremental counter (1 tick/second). Two digits only, stops + at zero. + +For type 1 and 2 the start value is set by using negative number of +the one intended to set (ex. -10 starts the counter at 10 seconds). +Except for type 3 the value is interpreted as seconds and formatted +as time in days, hours, minutes and seconds. Note, that the official +script command does not have the optional parameter. + + // displays 23:59:59 for 5 seconds + showdigit 86399; + + // counter that starts at 60 and runs for 60 seconds + showdigit 60,3; + +--------------------------------------- + * The Pet AI commands These commands will only work if the invoking character has a pet, and are meant |