net commands #327

Parent #68Owner #361Flags read, fertileSource hellcore/hellcore.db

Aliases: net commands

3 verbs · 34 properties · 2 children

Verbs

VerbSpecFlagsDefinerLines
_invoke_with_namethis none thisrxd#3277
_invokethis none thisrxd#32713
chatnetany any anyrxd#3271

Properties

PropertyDefinerFlagsOwnerValue
warehouse#68r#29<clear>
help_msg#68rc#361<clear>
feature_verbs#68r#29{}
feature_ok#68r#29<clear>
handed#5rc#361<clear>
wield_msg#5rc#361<clear>
unwield_msg#5rc#361<clear>
size#5rc#361<clear>
look_place_msg#5rc#361<clear>
value#5rc#361<clear>
get_msg#5rc#361<clear>
drop_msg#5rc#361<clear>
get_fail_msg#5rc#361<clear>
junk_ok#5rc#361<clear>
floats#5rc#361<clear>
long_name_msg#5rc#361<clear>
article#5rc#361<clear>
setup_list#5rc#361<clear>
health#5rc#361<clear>
health_max#5rc#361<clear>
min_skill#5rc#361<clear>
skill#5rc#361<clear>
recipe_for#5rc#361<clear>
carried_msg#5rc#361<clear>
aliases#1rc#361{"net commands"}
description#1rc#361<clear>
object_size#1r#29{2049, 1298434112}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361<clear>
weight#1rc#361<clear>
owner_verbs#1rc#361<clear>
plural_name#1rc#361<clear>
client_image#1rc#361<clear>
listening#1rc#361<clear>

Ancestry

Ancestors (nearest first): #68 Generic Feature Object#5 generic thing#1 root

Children: #170 programmer net commands, #260 player net commands

Call graph

calls n327_0 #327:_invoke_with_name n327_1 #327:_invoke n327_0->n327_1 n51_36 #51:verb_or_property n327_1->n51_36 n20_63 #20:match_stringlist n327_1->n20_63 n20_5 #20:from_list n327_1->n20_5 n327_2 #327:chatnet n327_2->n327_0

Source

_invoke_with_name

Spec this none thisFlags rxdOwner #361Definer #327

Referenced by

Source

1{who, name, params} = args;
2channel = `$nets.(name) ! E_PROPNF => #-1';
3if (!is_a(channel, $net))
4who:tell(tostr(name, " is not a valid channel."));
5return;
6endif
7this:_invoke(who, channel, params);

_invoke

Spec this none thisFlags rxdOwner #361Definer #327

Referenced by

Source

1{who, channel, params} = args;
2if (!is_a(channel, $net))
3who:tell(tostr("That is not a valid channel."));
4return;
5elseif (!$code_utils:verb_or_property(this, "feature_ok", who))
6who:tell(tostr("You do not have access to ", channel:command_name(), "."));
7return;
8elseif ((!params) || (!(index = $su:match_stringlist(params[1], channel.commands))))
9who:tell(tostr("Usage: ", channel:command_name(), " ", $su:from_list(channel.commands, "|")));
10return;
11endif
12command = channel.commands[index];
13channel:("command_" + command)(who, params[2..$]);

chatnet

Spec any any anyFlags rxdOwner #361Definer #327

Referenced by

none

Source

1this:_invoke_with_name(player, verb, args);