* Added missing bindatcmd documentation (tid:74882).

* Follow-up r16976: spell check and other minor changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16978 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
euphyy 2012-11-29 01:34:17 +00:00
parent 60b1b0bc97
commit a0b84ee722
2 changed files with 61 additions and 64 deletions

View File

@ -1,19 +1,19 @@
//============================================================
//= rAthena ReadMe File
//= rAthena Readme File
//===== By: ==================================================
//= rAthena Development Team
//===== Compatible With: =====================================
//= rAthena SVN
//= rAthena Dev Team
//===== Current Version: =====================================
//= 20121128
//===== Description: =========================================
//= Basic information and installation guide with links to
//= various forum posts and wiki articles.
//= various forum posts and Wiki articles.
//============================================================
============================
|| Table of Contents ||
============================
|| 1. What is rAthena? ||
|| 2. Prerequisits ||
|| 2. Prerequisites ||
|| 3. Installation ||
|| 4. Troubleshooting ||
|| 5. Helpful Links ||
@ -34,11 +34,11 @@ support. rAthena is a continuation of the eAthena project.
============================
|| 2. Prerequisists ||
|| 2. Prerequisites ||
============================
Before installing rAthena there are certain tools and applications you will need.
This differs between the varying operating systems available, so the following
is broken down into Windows and linux prerequisists.
is broken down into Windows and Linux prerequisites.
Windows
* TortoiseSVN (http://tortoisesvn.net/downloads.html)
@ -135,7 +135,7 @@ Examples:
|| 5. Helpful Links ||
============================
The following list of links point to various help files within the SVN, articles or
pages on the wiki or topics within the rAthena forum.
pages on the Wiki or topics within the rAthena forum.
* rAthena Forums
http://rathena.org/
@ -165,7 +165,7 @@ pages on the wiki or topics within the rAthena forum.
* @commands
In-game, Game Masters have the ability to use Atcommands (@) to control players,
create items, spawn mobs, reload configuration files and even control the weather.
For an in-depth explaination, please see /doc/atcommands.txt
For an in-depth explanation, please see /doc/atcommands.txt
* Permissions
The rAthena emulator has a permission system that enables certain groups of players
@ -173,5 +173,5 @@ pages on the wiki or topics within the rAthena forum.
activity. To see what permissions are available, they are detailed in /doc/permissions.txt
There are more files in the /doc/ directory that will help you to create scripts or update the
mapcache, er even explain how the job system and item bonuses work. Before posting a topic asking
for help on the forums, we reccomend that all users take the time to look over this directory.
mapcache, or even explain how the job system and item bonuses work. Before posting a topic asking
for help on the forums, we recommend that all users take the time to look over this directory.

View File

@ -6575,8 +6575,13 @@ The commands can also run without an attached rid.
*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. An array .@atcmd_parameters$[]
will be filled with the given parameters, starting with an index of 0.
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.
Example:
@ -6603,16 +6608,8 @@ This command will unbind a NPC event label from an atcommand.
*useatcmd "command";
*useatcmd("command");
This command will execute a custom atcommand on the attached RID from a script.
Whether invoked by a script or command, an array .@atcmd_parameters$[] will be
filled with the given parameters, starting with an index of 0.
Example:
@test Testing Command
The following array values will be generated:
.@atcmd_parameters$[0] = "Testing"
.@atcmd_parameters$[1] = "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.
---------------------------------------