diff options
author | sketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-12-18 02:36:01 +0000 |
---|---|---|
committer | sketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-12-18 02:36:01 +0000 |
commit | 1fe43024299ca9bbe18791a86080b459c96c3227 (patch) | |
tree | fb9ab94a9cf0d1ef48b126fa96d1eb27b4f2894c /doc/script_commands.txt | |
parent | 25aa6a70d711dbc1da0d02ca5f7ec9f8bd9be54e (diff) | |
download | hercules-1fe43024299ca9bbe18791a86080b459c96c3227.tar.gz hercules-1fe43024299ca9bbe18791a86080b459c96c3227.tar.bz2 hercules-1fe43024299ca9bbe18791a86080b459c96c3227.tar.xz hercules-1fe43024299ca9bbe18791a86080b459c96c3227.zip |
Removed charcommand code while allowing atcommand code to support its functionality.
Charcommands still retain their '#' symbol but now looks for a character name as the first parameter instead of last.
Atcommand configs now support charcommand level configurations by comma seperation (e.g. 60,99)
As a result of this, all atcommands that don't affect multiple users already (@kickall, @doom, @mapexit) are capable of remote usage.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13403 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index aaed3637c..6a3f6c6ac 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5770,23 +5770,10 @@ one. *charcommand <command>; -NOTE: This command is changed a bit on newer trunk versions, -scroll down a bit for the new version! - -On older trunk versions and stable: - -command is the name of the current character (strcharinfo(0)) -followed by ':' and the command and it's parameters. - -Example(s): - -//Will be executed as if a lvl 99 GM done the #option command. - charCommand strcharinfo(0)+":#option 0 0 0 Roy"; - -Newer Trunk version: +This command will run the given command line exactly as if it was typed in from +the keyboard from a character that belonged to an account which had GM level 99. -The big change is that the character name is no longer needed. -This also enabled the commands to run without a player attached (according to Lance). +The commands can also run without an attached rid. Example(s): |