diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-16 15:42:11 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-16 15:42:11 +0000 |
commit | 5d4ec949a088b3280426b61f704f45512405b5a7 (patch) | |
tree | 10532bf455c8c05dd3d0010f9bc002712332b62c /doc/script_commands.txt | |
parent | cf7db60042f7892a481e772299330a3a130c87a0 (diff) | |
download | hercules-5d4ec949a088b3280426b61f704f45512405b5a7.tar.gz hercules-5d4ec949a088b3280426b61f704f45512405b5a7.tar.bz2 hercules-5d4ec949a088b3280426b61f704f45512405b5a7.tar.xz hercules-5d4ec949a088b3280426b61f704f45512405b5a7.zip |
Documentation update to atcommand
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9232 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 4ecd7e113..b44ca8082 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4456,23 +4456,16 @@ everything not equippable by the new job class anyway. ---------------------------------------
-*atcommand "<character name>:<command line>";
+*atcommand "<command line>";
This command will run the given command line exactly as if it was typed in from
the keyboard by the player connected to the invoking character, and that
character belonged to an account which had GM level 99.
-Even though the character name and the ':' are not used for anything whatsoever,
-it is required to give them in this command because it is processed exactly as
-if typed from the keyboard, and that is how it will arrive into the processing
-function if it is typed from the keyboard. The character name given must be the
-same length as the name of the invoking character object, although nothing else
-is required of it.
-
// This will ask the invoker for a character name and then use the '@nuke'
// GM command on them, killing them mercilessly.
input @player$;
- gmcommand strcharinfo(0)+":@nuke "+@player$
+ gmcommand "@nuke "+@player$
This command has a lot of good uses, I am sure you can have some fun with this
one.
|