Can I suggest that:
1) You use player:contents() and player.location:contents() rather than player.contents and player.location.contents?
B) You don't need to assign object = ..., you can just return the result of the match. Not absolutely necessary, but I feel that little optimisations are important when you consider how often matching happens.
HTH,
--
You received this message because you are subscribed to the Google Groups "MOO Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MOO-talk+u...@googlegroups.com.
To post to this group, send email to MOO-...@googlegroups.com.
Visit this group at https://groups.google.com/group/MOO-talk.
For more options, visit https://groups.google.com/d/optout.
Drop one of them? Other than that, no clue. It's been a long
time! :-(