Door Macros

Overview

You can use a few optional macros when defining a door configuration.  These macros are shortcuts to refer to a node number, user first name, etc., and are generally intended to build paths and command-line parameters.  They cannot be used elsewhere in the BBS system.

Macros

**

Expands into a single asterisk.

*F (first name)

Expands into the user's first name.

*H (handle)

Expands into the user's handle or alias.

*L (last name)

Expands into the user's last name.

*N (node number)

Expands into the current node number.  For example, a string like "\NODE*N\" for a user on node #13 will expand into "\NODE13\".  Some door programs require you to pass it a node number as a command-line parameter.

*P (serial port number)

Expands into the current serial port number.

*W (Winsock handle)

Expands into the current Windows socket handle (for Telnet connections).

See Also