The Allow Specfun

From The Final Challenge Wiki
Jump to navigation Jump to search

This specfun is assigned to a door. When a mob or player attempts to use the door, the MUD allows passage, but then conducts further checks to see if some nasty or beneficial event happens to the character. Of the specfun class called Triggers, only ONE trigger can be assigned to a given door in a room. These specfuns, along with the Prevent Specfuns, are placed together in the TRIGGERS block.

The layout of an Allow Specfun is as follows:

A: This must be a A. B: This is the room's vnum where the door is. C: This is the door to attached the specfun to. 0 means north, 1 means east, 2 means south, 3 means west, 4 means up, and 5 means down. D: This is the name of the allow specfun off the approved allow specfun list. E: This usually would contain the room's name and the door's direction.