Next()

From TinyMUX
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))