Player-Creation-Log #12

Parent #9Owner #29Flags readSource hellcore/hellcore.db

Aliases: Player-Creation-Log, PCL

5 verbs · 37 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
display_seq_headersthis none thisrxd#126
msg_summary_linethis none thisrxd#1215
init_for_corethis none thisrxd#1223
is_usable_bythis none thisrxd#122
expire_old_messagesnone none nonerxd#128

Properties

PropertyDefinerFlagsOwnerValue
igva#12#29{"loooool@hotmail.com"}
jgva#12#29{0, {{" igva", 1, 1337746647, "Wizard (#361)", "*Player-Creation-Log (#12)", "shitlord (#372)"}}}
summary_uses_body#9rc#291
_mgr#9rc#29#7
mowner#9r#29#29
_genprop#9r#29"jgva"
moderator_notify#37rc#29<clear>
last_msg_date#37r#291337746647
messages_going#37#29{}
moderated#37rc#29{#17}
moderator_forward#37rc#29<clear>
writers#37rc#29<clear>
readers#37rc#29<clear>
mail_notify#37r#29{}
mail_forward#37r#29{}
expire_period#37r#29<clear>
last_used_time#37r#291337746647
messages#37#29{" jgva", 1, {1, 1337746647}}
rmm_own_msgs#37rc#29<clear>
guests_can_send_here#37rc#29<clear>
messages_kept#37r#29{}
registered_email#37#29<clear>
email_validated#37#29<clear>
validation_password#37#29<clear>
barcolor#37rc#29<clear>
hidden_subjects#37rc#29<clear>
hidden_content#37rc#29<clear>
aliases#1r#29{"Player-Creation-Log", "PCL"}
description#1rc#29"Log of player creations."
object_size#1r#29{7263364, 1298433815}
hidden_verbs#1rc#29<clear>
phelp_msg#1rc#29<clear>
weight#1rc#29<clear>
owner_verbs#1rc#29<clear>
plural_name#1rc#29<clear>
client_image#1rc#29<clear>
listening#1rc#29<clear>

Ancestry

Ancestors (nearest first): #9 Generic Large-Capacity Mail Recipient#37 Generic Mail Recipient#1 root

Children: none

Call graph

calls n12_0 #12:display_seq_headers n37_13 #37:ok n12_0->n37_13 n107_43 #107:tell n12_0->n107_43 n9_17 #9:display_seq_headers n12_0->n9_17 n12_1 #12:msg_summary_line n20_1 #20:left n12_1->n20_1 n12_2 #12:init_for_core n9_38 #9:init_for_core n12_2->n9_38 n48_8 #48:suspend_if_needed n12_2->n48_8 n9_36 #9:_fix_last_msg_date n12_2->n9_36 n12_3 #12:is_usable_by n37_2 #37:is_writable_by n12_3->n37_2 n12_4 #12:expire_old_messages n37_14 #37:ok_write n12_4->n37_14 n37_31 #37:expire_old_messages n12_4->n37_31

Source

display_seq_headers

Spec this none thisFlags rxdOwner #361Definer #12

Referenced by

none

Source

1":display_seq_headers(msg_seq[,cur])";
2if (!this:ok(caller, caller_perms()))
3return E_PERM;
4endif
5player:tell("       WHEN    BY        WHO                 EMAIL-ADDRESS");
6pass(@args);

msg_summary_line

Spec this none thisFlags rxdOwner #361Definer #12

Referenced by

none

Source

1when = ctime(args[1])[5..10];
2from = args[2];
3by = $string_utils:left(from[1..index(from, " (") - 1], -9);
4subject = args[4];
5who = subject[1..(open = index(subject, " (")) - 1];
6if ((close = rindex(subject, ")")) > open)
7who = who[1..min(9, $)] + subject[open..close];
8endif
9who = $string_utils:left(who, 18);
10line = args[("" in args) + 1];
11email = line[1..index(line + " ", " ") - 1];
12if (!index(email, "@"))
13email = "??";
14endif
15return tostr(when, "  ", by, " ", who, "  ", email);

init_for_core

Spec this none thisFlags rxdOwner #361Definer #12

Referenced by

none

Source

1if (caller_perms().wizard)
2pass();
3"this:rm_message_seq({1, 1 + this:length_all_msgs()})";
4"this:expunge_rmm()";
5for p in (properties(this))
6$command_utils:suspend_if_needed(0);
7if (p && (p[1] == " "))
8delete_property(this, p);
9endif
10endfor
11this.messages = this.messages_going = {};
12this:_fix_last_msg_date();
13this._genprop = "";
14this.mail_forward = {};
15this.mail_notify = {player};
16player.current_message = {@player.current_message, {this, 0, 0}};
17for p in ({"moderator_forward", "writers", "readers", "expire_period", "last_used_time"})
18clear_property(this, p);
19endfor
20this.moderated = {this};
21else
22return E_PERM;
23endif

is_usable_by

Spec this none thisFlags rxdOwner #361Definer #12

Referenced by

none

Source

1"Copied from Generic Mail Recipient (#6419):is_usable_by by Rog (#4292) Tue Mar  2 10:02:32 1993 PST";
2return (!this.moderated) || ((this:is_writable_by(who = args[1]) || (who in this.moderated)) || who.wizard);

expire_old_messages

Spec none none noneFlags rxdOwner #29Definer #12

Referenced by

none

Source

1"Stop breaking the expire task completely with out of seconds/ticks.";
2if (this:ok_write(caller, caller_perms()))
3fork (0)
4pass(@args);
5endfork
6else
7return E_PERM;
8endif