|Version 2 (modified by 3 years ago) (diff),|
GetConfigInfo -- Return information about the current user. (V1.3)
Returns information about the current user.
VAR/K - alternative variable to put the results into instead of RESULT (V2.0)
STEM/K - base name used for the stem where the result will be stored (V2.0)
ITEM/A - item to return information about, may be one of
EMA(IL) - e-mail address
NAM(E) - real name
VAR - info returned by the query
<STEM>VALUE - info returned by the query
Superseded by USERINFO ? in V2.0+. Don't use it in new scripts.
/* Enable result codes */
/* Request info */
GETCONFIGINFO NAME VAR name
GETCONFIGINFO EMAIL VAR email
/* Display results */
SAY 'User name: 'name
SAY 'User address: 'email
The original V1.3 implementation would return junk most of the time; this was fixed in V1.3.1.