فهرست منبع

Documentation update to atcommand

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9232 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 18 سال پیش
والد
کامیت
e04b0c735a
1فایلهای تغییر یافته به همراه2 افزوده شده و 9 حذف شده
  1. 2 9
      doc/script_commands.txt

+ 2 - 9
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.