net commands #327
Aliases: net commands
3 verbs · 34 properties · 2 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
_invoke_with_name | this none this | rxd | #327 | 7 |
_invoke | this none this | rxd | #327 | 13 |
chatnet | any any any | rxd | #327 | 1 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
warehouse | #68 | r | #29 | <clear> |
help_msg | #68 | rc | #361 | <clear> |
feature_verbs | #68 | r | #29 | {} |
feature_ok | #68 | r | #29 | <clear> |
handed | #5 | rc | #361 | <clear> |
wield_msg | #5 | rc | #361 | <clear> |
unwield_msg | #5 | rc | #361 | <clear> |
size | #5 | rc | #361 | <clear> |
look_place_msg | #5 | rc | #361 | <clear> |
value | #5 | rc | #361 | <clear> |
get_msg | #5 | rc | #361 | <clear> |
drop_msg | #5 | rc | #361 | <clear> |
get_fail_msg | #5 | rc | #361 | <clear> |
junk_ok | #5 | rc | #361 | <clear> |
floats | #5 | rc | #361 | <clear> |
long_name_msg | #5 | rc | #361 | <clear> |
article | #5 | rc | #361 | <clear> |
setup_list | #5 | rc | #361 | <clear> |
health | #5 | rc | #361 | <clear> |
health_max | #5 | rc | #361 | <clear> |
min_skill | #5 | rc | #361 | <clear> |
skill | #5 | rc | #361 | <clear> |
recipe_for | #5 | rc | #361 | <clear> |
carried_msg | #5 | rc | #361 | <clear> |
aliases | #1 | rc | #361 | {"net commands"} |
description | #1 | rc | #361 | <clear> |
object_size | #1 | r | #29 | {2049, 1298434112} |
hidden_verbs | #1 | rc | #361 | <clear> |
phelp_msg | #1 | rc | #361 | <clear> |
weight | #1 | rc | #361 | <clear> |
owner_verbs | #1 | rc | #361 | <clear> |
plural_name | #1 | rc | #361 | <clear> |
client_image | #1 | rc | #361 | <clear> |
listening | #1 | rc | #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
Source
_invoke_with_name
Referenced by
- #170:prognet line 1:
this:_invoke_with_name - #327:chatnet line 1:
this:_invoke_with_name
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
Referenced by
- #327:_invoke_with_name line 7:
this:_invoke
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
Referenced by
none
Source
1this:_invoke_with_name(player, verb, args);