Improvements:
* lports() [AEJ]
+ * lwhop() [AEJ]
Fixes:
* Compiler warning when RPMODE_SYS enabled [AEJ]
lwho()
lwho(<viewer>)
lwhoid(<viewer>)
+ lwhop(<viewer>)
lwho() returns a list of the dbref numbers for all currently-connected
players. When mortals use this function, the dbref numbers of DARK
lwohid() returns a list of objid's instead.
-See also: mwho(), xwho()
+ lwhop() returns a list of dbrefs and ports separated by colons.
+
+See also: mwho(), xwho(), lports()
& MAP()
map([<object>/]<attribute>,<list>[,<delim>][, <osep>])
int powered = !(strchr(called_as, 'M') != NULL) && Priv_Who(executor);
int xwho = *called_as == 'X';
int objid = strchr(called_as, 'D') != NULL;
+ int port = strchr(called_as, 'P') != NULL;
first = 1;
if(!xwho && nargs && args[0] && *args[0]) {
if(objid) {
safe_chr(':', buff, bp);
safe_integer(CreTime(d->player), buff, bp);
+ } else if (port) {
+ safe_chr(':', buff, bp);
+ safe_integer(d->descriptor, buff, bp);
}
}
}
{"LVTHINGS", fun_dbwalker, 1, 1, FN_REG},
{"LWHO", fun_lwho, 0, 1, FN_REG},
{"LWHOID", fun_lwho, 0, 1, FN_REG},
+ {"LWHOP", fun_lwho, 0, 1, FN_REG},
#ifdef USE_MAILER
{"MAIL", fun_mail, 0, 2, FN_REG},
{"MAILFROM", fun_mailfrom, 1, 2, FN_REG},