roomzone

Syntax: %roomzone([vNum][,zonenum])

Sets or returns the zone number associated with the given room number. If the vNum is omitted, the currently selected room is used. If zonenum is omitted, the zone number is just returned and not set.

Examples:

#ECHO %roomzone()

Displays the zone number for the current room

 

#NOOP %roomzone(,2)

Sets the zone number for the current room to 2

 

#NOOP %roomzone(bank,3)

Sets the zone number for the room with ID "bank" to 3

 



Contents %roomvnum %setglobal