浏览代码

- Added $Revision$ and $LastChangedDate$ keyword properties to README.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17019 54d463be-8e91-2dee-dedb-b68131a5f0ec
brianluau 12 年之前
父节点
当前提交
54f3e0bda9
共有 3 个文件被更改,包括 14 次插入15 次删除
  1. 6 4
      README.txt
  2. 1 1
      conf/login_athena.conf
  3. 7 10
      doc/script_commands.txt

+ 6 - 4
README.txt

@@ -1,10 +1,12 @@
-//============================================================ 
+//============================================================
 //= rAthena Readme File
-//===== By: ================================================== 
+//===== By: ==================================================
 //= rAthena Dev Team
 //===== Current Version: =====================================
-//= 20121128
-//===== Description: ========================================= 
+//= $Revision$
+//===== Last Updated: ========================================
+//= $LastChangedDate$
+//===== Description: =========================================
 //= Basic information and installation guide with links to
 //= various forum posts and Wiki articles.
 //============================================================

+ 1 - 1
conf/login_athena.conf

@@ -119,7 +119,7 @@ use_dnsbl: no
 dnsbl_servers: bl.blocklist.de, socks.dnsbl.sorbs.net
 // Here are some free DNS Blacklist Services: http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists
 //==============================================================================
-//     dnsbl_servers                    Description
+//   dnsbl_servers                 Description
 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 // bl.blocklist.de                 IP-Addresses who attack other servers/honeypots over SSH, FTP, IMAP, etc.
 // ircbl.ahbl.org                  AHBL (open proxies, compromised machines, comment spammers)

+ 7 - 10
doc/script_commands.txt

@@ -6572,16 +6572,15 @@ The commands can also run without an attached rid.
 ---------------------------------------
 
 *bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>};
-*bindatcmd("command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>});
 
 This command will bind a NPC event label to an atcommand. Upon execution of the
 atcommand, the user will invoke the NPC event label. Each atcommand is only allowed
 one binding. If you rebind, it will override the original binding.
 
-The following variables are created upon execution:
-    .@atcmd_command$: The atcmd used.
-    .@atcmd_numparameters: The number of parameters defined.
-    .@atcmd_parameters$[]: Array containing the given parameters, starting from an index of 0.
+The following variables are set upon execution:
+	.@atcmd_command$       =  The name of the @command used.
+	.@atcmd_parameters$[]  =  Array containing the given parameters, starting from an index of 0.
+	.@atcmd_numparameters  =  The number of parameters defined.
 
 Example:
 
@@ -6589,7 +6588,7 @@ When a user types the command "@test", an angel effect will be shown.
 
 -	script	atcmd_example	-1,{
 OnInit:
-	bindatcmd("test","atcmd_example::OnAtcommand");
+	bindatcmd "test",strnpcinfo(3)+"::OnAtcommand";
 	end;
 OnAtcommand:
 	specialeffect2 338;
@@ -6599,17 +6598,15 @@ OnAtcommand:
 ---------------------------------------
 
 *unbindatcmd "command";
-*unbindatcmd("command");
 
 This command will unbind a NPC event label from an atcommand.
 
 ---------------------------------------
 
 *useatcmd "command";
-*useatcmd("command");
 
-This command will execute an atcommand binding on the attached RID from a script.
-Variables will not be created when invoking scripts with this command.
+This command will execute an atcommand binding on the attached RID from a script. 
+The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way.
 
 ---------------------------------------