View/Edit #2731:_confunc

Switch to edit mode.

Name(s): _confunc
1:  if (this.location == this.home)
2:    fork (3)
3:      question = tostr("Do you want to stay in ", this.location:title(), "? You will be moved in 3 seconds if you do not respond.")
4:      if ($cmd_utils:yes_or_no(question))
5:        player:tell("Glad you could stay.")
6:      else
7:        player:tell("Moving to The Grassy Knole [DT]...")
8:        this.location:announce_all(this:title(), " decides to go to The Grassy Knole [DT] (#11) to be there if a new player/guest was to connect.")
9:        move(this, #11)
10:       this.location:announce_all(this:title(), " decides to come to The Grassy Knole [DT] to be here if a new player/guest is to connect.")
11:     endif
12:   endfork
13:   suspend(3)
14:   player:tell("Moving to The Grassy Knole [DT] anyways...")
15:   this.location:announce_all(this:title(), " decides to go to The Grassy Knole [DT] (#11) to be there if a new player/guest was to connect.")
16:   move(this, #11)
17:   this.location:announce_all(this:title(), " decides to come to The Grassy Knole [DT] to be here if a new player/guest is to connect.")
18: endif
19: return pass(@args)

Verb arguments: this none this
Verb perms: Readable NOT-Debug
Verb owned by: Q (#2731)

You are not logged in.

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