diff options
-rw-r--r-- | doc/script_commands.txt | 4 | ||||
-rw-r--r-- | src/map/script.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 3cdc590a6..9328cfa56 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4017,7 +4017,7 @@ wall), the character is pushed only up to the obstacle. This command will give a specific amount of specified items to the target character. If the character is not online, nothing will happen. -If <character ID> is not specified, items will be created in the invoking +If <account ID> is not specified, items will be created in the invoking character inventory instead. In the first and most commonly used version of this command, items are @@ -4059,7 +4059,7 @@ quite a few item scripts. For more examples check just about any official script *getitem2 "<Item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; This command will give an amount of specified items to the invoking character. -If an optional character ID is specified, and that character is currently +If an optional account ID is specified, and the target character is currently online, items will be created in their inventory instead. If they are not online, nothing will happen. It works essentially the same as 'getitem' (it even works for negative ID numbers the same way, which is kinda silly) but is a lot diff --git a/src/map/script.c b/src/map/script.c index 4c77bf872..66b61a419 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5570,8 +5570,8 @@ BUILDIN_FUNC(checkweight) } /*========================================== - * getitem <item id>,<amount>{,<character ID>}; - * getitem "<item name>",<amount>{,<character ID>}; + * getitem <item id>,<amount>{,<account ID>}; + * getitem "<item name>",<amount>{,<account ID>}; *------------------------------------------*/ BUILDIN_FUNC(getitem) { |