@exit()

The @exit() function takes two string arguments, a number and a 
string of text. The number is a dbref. The MUD will look for an 
exit located on the room/object/whatever whose name matches the 
string. If it finds a match, it will return that exit's dbref. 
Otherwise, it will return "-1". This is the same sort of matching 
used when you normally type the name of an exit (like 'north').

Usage:
@exit("11", "west")