* 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:
parent
60b1b0bc97
commit
a0b84ee722
24
README.txt
24
README.txt
@ -1,19 +1,19 @@
|
|||||||
//============================================================
|
//============================================================
|
||||||
//= rAthena ReadMe File
|
//= rAthena Readme File
|
||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= rAthena Development Team
|
//= rAthena Dev Team
|
||||||
//===== Compatible With: =====================================
|
//===== Current Version: =====================================
|
||||||
//= rAthena SVN
|
//= 20121128
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Basic information and installation guide with links to
|
//= Basic information and installation guide with links to
|
||||||
//= various forum posts and wiki articles.
|
//= various forum posts and Wiki articles.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
============================
|
============================
|
||||||
|| Table of Contents ||
|
|| Table of Contents ||
|
||||||
============================
|
============================
|
||||||
|| 1. What is rAthena? ||
|
|| 1. What is rAthena? ||
|
||||||
|| 2. Prerequisits ||
|
|| 2. Prerequisites ||
|
||||||
|| 3. Installation ||
|
|| 3. Installation ||
|
||||||
|| 4. Troubleshooting ||
|
|| 4. Troubleshooting ||
|
||||||
|| 5. Helpful Links ||
|
|| 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.
|
Before installing rAthena there are certain tools and applications you will need.
|
||||||
This differs between the varying operating systems available, so the following
|
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
|
Windows
|
||||||
* TortoiseSVN (http://tortoisesvn.net/downloads.html)
|
* TortoiseSVN (http://tortoisesvn.net/downloads.html)
|
||||||
@ -135,7 +135,7 @@ Examples:
|
|||||||
|| 5. Helpful Links ||
|
|| 5. Helpful Links ||
|
||||||
============================
|
============================
|
||||||
The following list of links point to various help files within the SVN, articles or
|
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
|
* rAthena Forums
|
||||||
http://rathena.org/
|
http://rathena.org/
|
||||||
@ -165,7 +165,7 @@ pages on the wiki or topics within the rAthena forum.
|
|||||||
* @commands
|
* @commands
|
||||||
In-game, Game Masters have the ability to use Atcommands (@) to control players,
|
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.
|
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
|
* Permissions
|
||||||
The rAthena emulator has a permission system that enables certain groups of players
|
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
|
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
|
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
|
mapcache, or 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.
|
for help on the forums, we recommend that all users take the time to look over this directory.
|
@ -6575,8 +6575,13 @@ 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
|
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$[]
|
atcommand, the user will invoke the NPC event label. Each atcommand is only allowed
|
||||||
will be filled with the given parameters, starting with an index of 0.
|
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:
|
Example:
|
||||||
|
|
||||||
@ -6603,16 +6608,8 @@ This command will unbind a NPC event label from an atcommand.
|
|||||||
*useatcmd "command";
|
*useatcmd "command";
|
||||||
*useatcmd("command");
|
*useatcmd("command");
|
||||||
|
|
||||||
This command will execute a custom atcommand on the attached RID from a script.
|
This command will execute an atcommand binding on the attached RID from a script.
|
||||||
Whether invoked by a script or command, an array .@atcmd_parameters$[] will be
|
Variables will not be created when invoking scripts with this command.
|
||||||
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"
|
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user