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

NWLD

From Creatures Wiki
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