View/Edit #50:init_session

Switch to edit mode.

Name(s): init_session
1:  {who, object, vname, dunno} = args
2:  if (this:ok(who = args[1]))
3:    this:load(who, dunno)
4:    this.hashes[who] = value_hash(dunno)
5:    this.verbnames[who] = vname
6:    this.objects[who] = object
7:    if (index(verb_info(object, vname)[2], "r"))
8:      this:set_readable(who, 1)
9:    endif
10:   this.active[who]:tell("Now editing ", this:working_on(who), ".")
11:   "this.active[who]:tell(\"Now editing \", object, \":\", vname, \".\");"
12: endif
13: "Last modified by Dax (#789) on Mon Apr 16 02:41:37 2001 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]