- Fixed some spelling errors in /doc/script_commands.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17175 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7bbd35a052
commit
2886a2b39a
@ -5090,7 +5090,7 @@ everything not equippable by the new job class anyway.
|
||||
*sit {"<character name>"};
|
||||
*stand {"<character name>"};
|
||||
|
||||
These commands will make a character sit if standing and stanf if sitting.
|
||||
These commands will make a character sit if standing and stand if sitting.
|
||||
If no character is specified, the command will run for the invoking character.
|
||||
|
||||
---------------------------------------
|
||||
@ -6825,6 +6825,7 @@ The first letter is position 0.
|
||||
*charat(<string>,<index>)
|
||||
|
||||
Returns char at specified index. If index is out of range, returns empty string.
|
||||
The first letter of a string is index 0.
|
||||
|
||||
Example:
|
||||
|
||||
@ -6883,7 +6884,7 @@ Example:
|
||||
*charislower(<string>,<index>)
|
||||
|
||||
Returns 1 if character at specified index of specified string is
|
||||
uppercase/lowercase. Otherwise, 0. Characters not of the alphabelt will return 0.
|
||||
uppercase/lowercase. Otherwise, 0. Characters not of the alphabet will return 0.
|
||||
|
||||
Example:
|
||||
|
||||
@ -6933,20 +6934,20 @@ Example:
|
||||
|
||||
---------------------------------------
|
||||
|
||||
*sprintf(<format>[,param[,param[,...]]]) [Mirei]
|
||||
*sprintf(<format>[,param[,param[,...]]])
|
||||
|
||||
C style sprintf. The resulting string is returned same as in PHP. All C format
|
||||
specifiers are supported except %n. More info: sprintf @ www.cplusplus.com.
|
||||
The number of params is only limited by rA's script engine.
|
||||
|
||||
Example:
|
||||
.@format$ = 'The %s contains %d monkeys';
|
||||
set .@format$, "The %s contains %d monkeys";
|
||||
dispbottom(sprintf(.@format$, "zoo", 5)); //prints "The zoo contains 5 monkeys"
|
||||
dispbottom(sprintf(.@format$, "barrel", 82)); //prints "The barrel contains 82 monkeys"
|
||||
|
||||
---------------------------------------
|
||||
|
||||
*sscanf(<string>,<format>[,param[,param[,...]]]) [Mirei]
|
||||
*sscanf(<string>,<format>[,param[,param[,...]]])
|
||||
|
||||
C style sscanf. All C format specifiers are supported.
|
||||
More info: sscanf @ www.cplusplus.com. The number of params is only limited
|
||||
|
Loading…
x
Reference in New Issue
Block a user