set_default_exit
lima-1.0b5/lib/help/wizard/coding/rooms/set_default_exit · 461 B
From the archive lima-1.0b5+driver.tar.gz
Download the archive « Back to the archive contents
(I was going to add this to the room doc, but there's nothing here. ff to doc the rest of the stuff) set_default_exit(string str) will cause 'str' to be printed whenever the player tries to go a direction that doesn't exist. The argument may also be a function pointer, in which case it is evaluated, and the return value is printed if it is a string. (Note: set_default_exit actually just sets the value of the exit "DEFAULT"; you can do this explicitly)