From af4d892ed34fce0d01df1577d272a6df72e9b12b Mon Sep 17 00:00:00 2001 From: Bukz Date: Thu, 7 Feb 2013 05:30:29 +0000 Subject: [PATCH] updated docs.cfg for r7165 git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7166 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/docs.cfg | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/config/docs.cfg b/config/docs.cfg index a50651ea..e560ade9 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -379,12 +379,6 @@ docexample [echo (testchar B 4)] [Output: 1 // It is a uppercase A-Z character]; docexample [echo (testchar , 5)] [Output: 1 // It is a printable character]; docexample [echo (testchar . 6)] [Output: 1 // It is a punctuation character]; docexample [echo (testchar " " 7)] [Output: 1 // It is a whitespace character]; -docident [testlist] [Tests a list argument for various things.]; -docargument [L] [the list to test] [] [0]; -docargument [N] [type of test to run] [min 0/max 2/default 0] [0]; -docexample [echo (testlist "1 2.45 8")] [Output: 1 // It is a valid list of numbers (supports ints and floats)]; -docexample [echo (testlist "a B C defg hi jk" 1)] [Output: 1 // It is a valid list of alpha-characters a-z or A-Z only]; -docexample [echo (testlist "a B C defg hi jk" 2)] [Output: 1 // It is a valid list of alpha-characters a-z or A-Z or whitespace only]; docident [tolower] [Converts a string to all lowercase characters.]; docargument [S] [a string] [] [0]; docexample [echo (tolower HELLO)] [Output: hello]; @@ -611,6 +605,7 @@ docremark [The name of the bots will be selected randomly.]; docexample [addnbot 2 CLA bad] [Will add 2 bots with a bad skill level to the CLA team.]; docident [addOnQuit] [Execute a command or block of code on quit.]; docargument [A] [the command or block of code to execute] [min /max /default ]; +docident [afterinit] [If defined, this will be executed after saved.cfg is loaded.]; docident [akimboautoswitch] [Enables or disables automatic switching to the akimbo upon pickup.]; docargument [N] [enable or disable] [min 0/max 1/default 1]; docident [akimboendaction] [Sets the behavior of weapon switching upon akimbo expiration.]; @@ -635,6 +630,10 @@ docargument [T] [shooting bots?] [0||1] [0]; docexample [botsshoot 0] [Bots won't shoot.]; docident [changefollowplayer] []; docargument [D] [delta] [how many players to shift +/-] [0]; +docident [changespeed] [Smoothly changes your gamespeed to the specified value.]; +docargument [S] [the gamespeed to change to] [] [0]; +docargument [M] [milliseconds between gamespeed changes] [] [0]; +docexample [changespeed 1000 30] [Every 30 milliseconds your gamespeed is changed by 1 until it reaches its goal of gamespeed 1000.]; docident [checkmag] [Determines if you have any ammunition available for the specified weapon. (uses magcontent and magreserve)]; docargument [N] [the weapon number] [] [0]; docident [clearignored] [Clear list of ignored players.]; @@ -753,6 +752,12 @@ docident [isclient] [Determines if the client number given is a valid client (pl docargument [C] [client number] [] [0]; docexample [echo (isclient 0)] [Example output: 1]; docexample [echo (isclient 32)] [Example output: 0]; +docident [KEYPRESS] [If defined, this will be executed every time you press a key.]; +docargument [I] [integer key code] [] [0]; +docexample [checkinit KEYPRESS [echo You pressed key: (findkey $arg1)]] []; +docident [KEYRELEASE] [If defined, this will be executed every time you release a key.]; +docargument [I] [integer key code] [] [0]; +docexample [checkinit KEYRELEASE [echo You released key: (findkey $arg1)]] []; docident [kickallbots] [Kicks all bots out of the current game.]; docargument [] [this command does not take any arguments] [none] [0]; docident [kickbot] [Kicks the bot with the given name out of the current game.]; @@ -1477,6 +1482,10 @@ docident [bullethole] [Turns on/off the display of bullet holes]; docargument [V] [Enable/Disable bullet holes] [min 0/max 1/default 1]; docident [bulletholettl] [Specifies how long (in milliseconds) to display bullet holes.]; docargument [V] [Bullethole display time] [min 0/max 30000/default 10000]; +docident [changegamma] [Smoothly changes your gamma to the specified value.]; +docargument [G] [the gamma to change to] [] [0]; +docargument [M] [milliseconds between gamma changes] [] [0]; +docexample [changegamma 300 30] [Every 30 milliseconds your gamma is changed by 1 until it reaches its goal of gamma 300.]; docident [colorbits] [Sets the bits per pixel value.]; docargument [] [bits per pixel] [min 0/max 32/default 0]; docident [damagescreen] [show the blood-spat overlay when receiving damage?];