Welcome to the Creatures Wiki! Log in and join the community.

NWLD

From Creatures Wiki
Revision as of 16:34, 31 January 2022 by Allekha (talk | contribs) (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NWLD is a CAOS function that outputs the number of worlds a user has.

Usage[edit]

Syntax: NWLD

Returns the number of world directories.

Examples[edit]

This function is used several times in the world switcher script. For example, to determine how many worlds to show at once (with a maximum of six):

setv va00 nwld
	doif va00 > 6
	setv va00 6
endi