* Misc spelling fixes
* Added @lkami to list of current @kami variations in doc/atcommands.txt git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16967 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
e5253aa7c6
commit
a1589988eb
@ -64,7 +64,7 @@ Server Uptime: 3 days, 8 hours, 6 minutes, 4 seconds.
|
|||||||
|
|
||||||
@refresh
|
@refresh
|
||||||
|
|
||||||
Syncronizes the player's position on the client with the one stored on the server.
|
Synchronizes the player's position on the client with the one stored on the server.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@ -665,7 +665,7 @@ Drops all inventory and equipped items onto the floor.
|
|||||||
|
|
||||||
@storeall
|
@storeall
|
||||||
|
|
||||||
Places all inventory and equpiped items directly into your Kafra Storage.
|
Places all inventory and equipped items directly into your Kafra Storage.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@ -728,7 +728,7 @@ If no coordinates are entered, a random location will be chosen.
|
|||||||
@follow <player name>
|
@follow <player name>
|
||||||
|
|
||||||
Warps to the specified player.
|
Warps to the specified player.
|
||||||
Aditionally, @follow will track the player's movements until turned off.
|
Additionally, @follow will track the player's movements until turned off.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@ -916,7 +916,7 @@ Fully heals HP and SP.
|
|||||||
@raisemap
|
@raisemap
|
||||||
@raise
|
@raise
|
||||||
|
|
||||||
Ressurection commands.
|
Resurrection commands.
|
||||||
@alive will revive the attached player.
|
@alive will revive the attached player.
|
||||||
@raisemap will revive all players on the map.
|
@raisemap will revive all players on the map.
|
||||||
@raise will revive all players on the server.
|
@raise will revive all players on the server.
|
||||||
@ -1019,11 +1019,13 @@ Except for /nb and /nlb, the message will be prefixed with the name of the attac
|
|||||||
@kami <message>
|
@kami <message>
|
||||||
@kamib <message>
|
@kamib <message>
|
||||||
@kamic <color> <message>
|
@kamic <color> <message>
|
||||||
|
@lkami <message>
|
||||||
|
|
||||||
Announces a message without a name prefix.
|
Announces a message without a name prefix.
|
||||||
@kami will broadcast in yellow text.
|
@kami will broadcast in yellow text.
|
||||||
@kamib will broadcast in blue text.
|
@kamib will broadcast in blue text.
|
||||||
@kamic will broadcast in the specified color (a hexadecimal value).
|
@kamic will broadcast in the specified color (a hexadecimal value).
|
||||||
|
@lkami will broadcast on the attached character's current map.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
@kamic FF0000 This message is in red.
|
@kamic FF0000 This message is in red.
|
||||||
@ -1332,7 +1334,7 @@ Sets the hunger level of your pet, with 100 being "Stuffed".
|
|||||||
| 9. Homunculus Commands |
|
| 9. Homunculus Commands |
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
@makehomun <homunculus ID>
|
@makehomun <Homunculus ID>
|
||||||
|
|
||||||
Creates the specified homunculus.
|
Creates the specified homunculus.
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ ID: Item id
|
|||||||
AegisName: Server name to reference the item in scripts and lookups,
|
AegisName: Server name to reference the item in scripts and lookups,
|
||||||
should use no spaces.
|
should use no spaces.
|
||||||
|
|
||||||
Name: Name in english for displaying as output for @ and script commands.
|
Name: Name in English for displaying as output for @ and script commands.
|
||||||
|
|
||||||
Type:
|
Type:
|
||||||
0 Healing item.
|
0 Healing item.
|
||||||
|
@ -154,7 +154,7 @@ Monster name is the name the monsters will have on screen, and has no relation
|
|||||||
whatsoever to their names anywhere else. It's the mob id that counts, which
|
whatsoever to their names anywhere else. It's the mob id that counts, which
|
||||||
identifies monster record in 'mob_db.txt' database of monsters. If the mob name
|
identifies monster record in 'mob_db.txt' database of monsters. If the mob name
|
||||||
is given as "--ja--", the 'japanese name' field from the monster database is
|
is given as "--ja--", the 'japanese name' field from the monster database is
|
||||||
used, (which, in rAthena, actually contains an english name) if it's "--en--",
|
used, (which, in rAthena, actually contains an English name) if it's "--en--",
|
||||||
it's the 'english name' from the monster database (which contains an uppercase
|
it's the 'english name' from the monster database (which contains an uppercase
|
||||||
name used to summon the monster with a GM command).
|
name used to summon the monster with a GM command).
|
||||||
|
|
||||||
@ -163,7 +163,7 @@ executed, it is affected by spawn rates in 'battle_athena.conf'.
|
|||||||
|
|
||||||
Delay1 and delay2 control monster respawn delays - the first one is the fixed
|
Delay1 and delay2 control monster respawn delays - the first one is the fixed
|
||||||
base respawn time, and the second is random variance on top of the base time.
|
base respawn time, and the second is random variance on top of the base time.
|
||||||
Both values are given in miliseconds (1000 = 1 second).
|
Both values are given in milliseconds (1000 = 1 second).
|
||||||
Note that the server also enforces a minimum respawn delay of 5 seconds.
|
Note that the server also enforces a minimum respawn delay of 5 seconds.
|
||||||
|
|
||||||
You can specify a custom level to use for the mob different from the one of
|
You can specify a custom level to use for the mob different from the one of
|
||||||
@ -361,7 +361,7 @@ through mobspawn (mob control commands) or the account ID of a character.
|
|||||||
Another way would be to right click on a mob,
|
Another way would be to right click on a mob,
|
||||||
NPC or char as GM sprited char to view the GID.
|
NPC or char as GM sprited char to view the GID.
|
||||||
|
|
||||||
This is mostly used for the new version of skill and the mob control commmands
|
This is mostly used for the new version of skill and the mob control commands
|
||||||
implemented (but NEVER documented by Lance. Shame on you...).
|
implemented (but NEVER documented by Lance. Shame on you...).
|
||||||
|
|
||||||
Item and pet scripts
|
Item and pet scripts
|
||||||
@ -375,7 +375,7 @@ are executed once again to rebuild them. This also happens in several other
|
|||||||
situations (like upon login) but the full list is currently unknown.
|
situations (like upon login) but the full list is currently unknown.
|
||||||
|
|
||||||
OnEquip_Script is a piece of script code run whenever the item is used by a character
|
OnEquip_Script is a piece of script code run whenever the item is used by a character
|
||||||
by doubleclicking on it. OnUnequip_Script runs whenever the
|
by double-clicking on it. OnUnequip_Script runs whenever the
|
||||||
equipment is unequip by a character
|
equipment is unequip by a character
|
||||||
|
|
||||||
Not all script commands work properly in the item scripts. Where commands and
|
Not all script commands work properly in the item scripts. Where commands and
|
||||||
@ -1020,7 +1020,7 @@ that color:
|
|||||||
mes "This is ^FF0000 red ^000000 and this is ^00FF00 green, ^000000 so.";
|
mes "This is ^FF0000 red ^000000 and this is ^00FF00 green, ^000000 so.";
|
||||||
|
|
||||||
Notice that the text coloring is handled purely by the client. If you use non-
|
Notice that the text coloring is handled purely by the client. If you use non-
|
||||||
english characters, the color codes might get screwed if they stick to letters
|
English characters, the color codes might get screwed if they stick to letters
|
||||||
with no intervening space. Separating them with spaces from the letters on
|
with no intervening space. Separating them with spaces from the letters on
|
||||||
either side solves the problem.
|
either side solves the problem.
|
||||||
|
|
||||||
@ -1491,7 +1491,7 @@ Note:
|
|||||||
|
|
||||||
!! A user-defined function must be declared /before/ a script attempts to
|
!! A user-defined function must be declared /before/ a script attempts to
|
||||||
!! call it. That is to say, any functions should be placed above scripts or NPCs
|
!! call it. That is to say, any functions should be placed above scripts or NPCs
|
||||||
!! (or loaded in a seperate file first) before attempting to call them directly.
|
!! (or loaded in a separate file first) before attempting to call them directly.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@ -1988,7 +1988,7 @@ Example:
|
|||||||
for ( set .@i,0; .@i<.@bigloop; set .@i, .@i+1 ) {
|
for ( set .@i,0; .@i<.@bigloop; set .@i, .@i+1 ) {
|
||||||
dothis;
|
dothis;
|
||||||
// will sleep the script for 1ms when detect an infinity loop to
|
// will sleep the script for 1ms when detect an infinity loop to
|
||||||
// let rathena do what it need to do (socket, timer, process, etc.)
|
// let rAthena do what it need to do (socket, timer, process, etc.)
|
||||||
}
|
}
|
||||||
|
|
||||||
freeloop(0); // disable
|
freeloop(0); // disable
|
||||||
@ -2509,7 +2509,7 @@ See 'getequipid' for a full list of valid equipment slots.
|
|||||||
*getitemname(<item id>)
|
*getitemname(<item id>)
|
||||||
|
|
||||||
Given the database ID number of an item, this function will return the text
|
Given the database ID number of an item, this function will return the text
|
||||||
stored in the 'japanese name' field (which, in rAthena, stores an english name
|
stored in the 'japanese name' field (which, in rAthena, stores an English name
|
||||||
the players would normally see on screen.)
|
the players would normally see on screen.)
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
@ -2634,7 +2634,7 @@ random change of a refine succeeding or failing and then going through with it
|
|||||||
(which is what the official NPC refinery scripts use it for)
|
(which is what the official NPC refinery scripts use it for)
|
||||||
|
|
||||||
// This will find a random number from 0 - 99 and if that is equal to or more
|
// This will find a random number from 0 - 99 and if that is equal to or more
|
||||||
// than the value recoverd by this command it will go to L_Fail
|
// than the value recovered by this command it will go to L_Fail
|
||||||
if (getequippercentrefinery(EQI_HAND_L)<=rand(100)) goto L_Fail;
|
if (getequippercentrefinery(EQI_HAND_L)<=rand(100)) goto L_Fail;
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
@ -4644,7 +4644,7 @@ a maximum of 5 slots by default.
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
// Gives the player oppurtunity to buy 4 different kinds of items.
|
// Gives the player opportunity to buy 4 different kinds of items.
|
||||||
buyingstore 4;
|
buyingstore 4;
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
@ -5384,7 +5384,7 @@ invoking character. Monster name and mob id obey the same rules as the one given
|
|||||||
at the beginning of this document for permanent monster spawns with the
|
at the beginning of this document for permanent monster spawns with the
|
||||||
exceptions mentioned when describing 'monster' command.
|
exceptions mentioned when describing 'monster' command.
|
||||||
|
|
||||||
The effect for the skill 'Call Homonuculus' will be displayed centered on the
|
The effect for the skill 'Call Homunculus' will be displayed centered on the
|
||||||
invoking character.
|
invoking character.
|
||||||
|
|
||||||
Timeout is the time in milliseconds the summon lives, and is set default
|
Timeout is the time in milliseconds the summon lives, and is set default
|
||||||
@ -5734,7 +5734,7 @@ Example 3:
|
|||||||
|
|
||||||
mes "[Man]";
|
mes "[Man]";
|
||||||
mes "I have been waiting "+(getnpctimer(0)/1000)+" seconds for you.";
|
mes "I have been waiting "+(getnpctimer(0)/1000)+" seconds for you.";
|
||||||
// We divide the timer returned by 1000 to convert milleseconds to seconds.
|
// We divide the timer returned by 1000 to convert milliseconds to seconds.
|
||||||
close;
|
close;
|
||||||
|
|
||||||
Example 4:
|
Example 4:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
case $1 in
|
case $1 in
|
||||||
'script')
|
'script')
|
||||||
#find which script commands are missing from doc/script_commands.txt
|
#find which script commands are missing from doc/script_commands.txt
|
||||||
echo "Missing scipt documentation for function :"
|
echo "Missing script documentation for function :"
|
||||||
awk '/BUILDIN_DEF\(.*\),/ {b=match($0,"BUILDIN_DEF(.*),");c=match($0,",");print substr($0,b+12,c-b-12);}' ../src/map/script.c | xargs -I{} sh -c '! grep -Lq {} ../doc/script_commands.txt && echo {}'
|
awk '/BUILDIN_DEF\(.*\),/ {b=match($0,"BUILDIN_DEF(.*),");c=match($0,",");print substr($0,b+12,c-b-12);}' ../src/map/script.c | xargs -I{} sh -c '! grep -Lq {} ../doc/script_commands.txt && echo {}'
|
||||||
awk '/BUILDIN_DEF2\(.*\),/ {b=match($0,"BUILDIN_DEF2(.*),");c=match($0,",");d=match($0 ,"\",\"");print substr($0,c+2,d-c-2);}' ../src/map/script.c | xargs -I{} sh -c '! grep -Lq {} ../doc/script_commands.txt && echo {}'
|
awk '/BUILDIN_DEF2\(.*\),/ {b=match($0,"BUILDIN_DEF2(.*),");c=match($0,",");d=match($0 ,"\",\"");print substr($0,c+2,d-c-2);}' ../src/map/script.c | xargs -I{} sh -c '! grep -Lq {} ../doc/script_commands.txt && echo {}'
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user