Documentation update to atcommand

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9232 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance 2006-11-16 15:42:11 +00:00
parent 3847e1c0e8
commit e04b0c735a

View File

@ -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.