From b2894c11a678a1f88707490e8ce68e2c8c5aeac9 Mon Sep 17 00:00:00 2001 From: flowtron Date: Thu, 17 Jul 2008 18:53:00 +0000 Subject: [PATCH] info:curserver git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2181 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/reference.xml | 77 ++++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 33 deletions(-) diff --git a/docs/reference.xml b/docs/reference.xml index a3c9868e..40140ce1 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -471,52 +471,52 @@ - seconds since the epoch (00:00:00 UTC on January 1, 1970) - - - echo (systime) - - + seconds since the epoch (00:00:00 UTC on January 1, 1970) + + + echo (systime) + + - a list of values for current time - - - echo (timestamp) "2008 08 08 08 08 08" - - - echo (timestamp) "2063 04 05 12 00 00" - - - echo (at (timestamp) 0) (at (timestamp) 2) (at (timestamp) 1) "2063 05 04" - - + a list of values for current time + + + echo (timestamp) "2008 08 08 08 08 08" + + + echo (timestamp) "2063 04 05 12 00 00" + + + echo (at (timestamp) 0) (at (timestamp) 2) (at (timestamp) 1) "2063 05 04" + + format: YYYY mm dd HH MM SS - representation of date - - - echo (datestring) "Sat Jun 7 17:08:35 2008" - - + representation of date + + + echo (datestring) "Sat Jun 7 17:08:35 2008" + + format: Www Mmm dd hh:mm:ss yyyy Use timestamp to create your own formatting. - the current time in (H)H:MM:SS format - - - echo (timestring) "12:34:56" - - - echo (timestring) "1:02:03" - - + the current time in (H)H:MM:SS format + + + echo (timestring) "12:34:56" + + + echo (timestring) "1:02:03" + + Binds a key to a command. @@ -734,6 +734,17 @@ + + + + + Returns information on the current server - if you're connected to one. + + If I is 0 (omitted or any other value than the ones below) you will get a string with 'HOST:PORT IP DESC' + If I is 1,2 or 3 you will get the IP, HostName or port respectively. + If I is 4 you get a string representing the current state of the peer - usually this should be 'connected'. + +