From 65d270ce0a941283eb17928e34f6c6d1ca8278a9 Mon Sep 17 00:00:00 2001 From: lighta Date: Tue, 26 Nov 2013 00:00:11 -0500 Subject: [PATCH] Doc and Tools update Replace check-doc (shell) by perl equivalent and update it. Now checking custom folder and restricted atcm, also check for unmatch command in documentation as requested before. Update documentation to match sources. Update config.pl replace svn install by git. --- doc/atcommands.txt | 47 +++++++++- doc/script_commands.txt | 2 +- src/map/atcommand.c | 2 +- tools/check-doc | 30 ------- tools/check-doc.pl | 193 ++++++++++++++++++++++++++++++++++++++++ tools/config.pl | 8 +- 6 files changed, 242 insertions(+), 40 deletions(-) delete mode 100755 tools/check-doc create mode 100755 tools/check-doc.pl diff --git a/doc/atcommands.txt b/doc/atcommands.txt index dd0c5ab643..d02b4da86c 100644 --- a/doc/atcommands.txt +++ b/doc/atcommands.txt @@ -307,7 +307,7 @@ prontera (x= 165, y= 198) 01 00 00 00 00 Displays monster information (rates, stats, drops, MVP data). Example: -@monsterinfo Poring +@mobinfo Poring Output: Monster: 'Poring'/'Poring'/'PORING' (1002) @@ -875,9 +875,9 @@ Changes unused status or skill points by the specified amount. --------------------------------------- -@streset +@resetstat /resetstate -@skreset +@resetskill /resetskill @reset @@ -1037,6 +1037,32 @@ Displays the message above the NPC's head (like the 'npctalk' script command). --------------------------------------- +@vip <+/- time> + +Set a player in VIP mode for a limited time. +Time could be reduced and if below now VIP mode is removed +Time elements: y/a, m, d/j, h, mn, s + +Example: +@vip +2h mychar +-> set mychar's account as VIP for 2 hours. + +--------------------------------------- + +@fullstrip + +Unequip all item from a player. + +--------------------------------------- + +@cart <0-%d> + +Give or remove a cart to a player and also change the cart skin. +0 = remove cart +x = cart color + +--------------------------------------- + ============================== | 5. Administrative Commands | ============================== @@ -1168,7 +1194,7 @@ Disconnects a user or all users from the server. @ban <+/- time> @unban -Bans or unbans a player for a limited time. +Bans or unbans a player account for a limited time. Time elements: y/a, m, d/j, h, mn, s Example: @@ -1184,6 +1210,19 @@ Blocks or unblocks a player from logging in indefinitely. --------------------------------------- +@charban <+/- time> +@charunban + +Bans or unbans a player for a limited time. +(Very similar to @ban and but for 1 character only) +Time elements: y/a, m, d/j, h, mn, s + +Example: +@ban +2d Char2 +-> bans Char2's for 2 days. + +--------------------------------------- + @mapexit Sends quit signal to mapserver, saving all data and causing a graceful shutdown. diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 6b8f626a3e..e67e681c12 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4642,7 +4642,7 @@ storage or cart. --------------------------------------- *equip ; -*autoEquip ,