View/Edit #9677:getall

Switch to edit mode.

Name(s): getall
1:  container = player:my_match_object(dobjstr)
2:  if (container == #-3 || container == #-2)
3:    return player:tell("Sorry, couldn't find that container")
4:  endif
5:  for item in (container.contents)
6:    try
7:      item:moveto(this)
8:    except error (ANY)
9:      player:tell(item.name, " doesn't want to be moved to ", this.name, ".")
10:   endtry
11: endfor
12: "Last modified by Blair (#9677) on Sun Jul 28 10:31:40 2002 MDT."

Verb arguments: any none none
Verb perms: Readable NOT-Debug
Verb owned by: Blair (#9677)

You are not logged in.

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