Next()

From TinyMUX
Revision as of 05:49, 17 January 2006 by Ian (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

FUNCTION: next(thing)

If thing is an exit in a room, then next() will return the next nondark exit in the list of exits for that room. If thing is an object, then next will return the next object in the inventory list that the object is in. Otherwise, it returns a '#-1' string.



(--Soylent 02:00, 3 December 2005 (EST))