holder (#2470)
(an instance of generic thing made by tend)
Go to location of this object, tend.
VERB SOURCE CODE:
@wwho:
if (valid(caller) && (caller != player))
return E_PERM;
endif
user = player in this.users;
if ((!user) || (this.interesting[user] == {}))
player:tell(verb, " is used to list players who are in your login ", "watcher
interesting list. You haven't set anyone as interesting. Use ", "@interesting
to start your list.");
return;
endif
this:gc_intlist(user);
if (argstr == "all")
if (this.options[user][1])
this.options[user][1] = 0;
player:tell("@wwho all toggled off. Only awake people will appear ", "in
your @wwho list.");
else
this.options[user][1] = 1;
player:tell("@wwho all toggled on. Both awake and sleeping players ", "will
appear in your @wwho list.");
endif
return;
endif
if (this.options[user][1])
interesting = this.interesting[user];
else
interesting = $set_utils:intersection(this.interesting[user], connected_players());
endif
if (interesting)
this:add_relaying_task(task_id(), player);
$code_utils:show_who_listing(interesting);
this:delete_relaying_task(task_id(), player);
else
player:tell("No interesting players are online now.");
endif
.
PROPERTY DATA:
|