View/Edit #2221:Pueblo_commands

Switch to edit mode.

Name(s): Pueblo_commands
1:  "Copied from Jay (#8438):lctitle Nov  4 20:21:42 2000"
2:  "Copied from seven-eleven (#711):title by Cephei (#4545)Nov  4 20:14:10 2000"
3:  title = this.title
4:  pueblo = player.output_Rendering_object == #282
5:  if (player:isa($player))
6:    if (pueblo && player.location != this)
7:      if (this.ladder == 0)
8:        return tostr("<a xch_cmd=\"@knock " + tostr(this) + " \" xch_hint=\"Knock\">" + title + "</a>")
9:      elseif (this.ladder == 1 && player.location == this.location)
10:       return tostr("<a xch_cmd=\"up\" xch_hint=\"Go up the ladder\">" + title + "</a>")
11:     endif
12:   else
13:     return title
14:   endif
15: else
16:   return title
17: endif

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

You are not logged in.

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