Convert an absolute room number to a virtual room number. The absolute number for rooms ranges from 1 to %numrooms. All of the other %room commands require a virtual room number, rather than the absolute number.
mapvnum Example
#LOOP %numrooms {#ECHO %roomname(%mapvnum(%i))}
This will loop through each room on the map and display the room name.