/* strlist.h */ /* A struct containing a table of a database strings */ struct strings { char *name; int code; char *calias; int flag; }; typedef struct strings StringList; /* string flags */ #define STR_DARK 0x0001 /* don't show in examine */ #define STR_NCMD 0x0002 /* don't allow a command for this */ #define STR_IMEM 0x0004 /* strored in the index */ static StringList Strings[] = { {"Name", NAME, (char *) 0, STR_DARK | STR_IMEM}, {"Description", DESC, "describe", 0}, {"Odescription", ODESC, "odescribe", 0}, {"Idescription", IDESC, "idescribe", 0}, {"Success", SUC, (char *) 0, 0}, {"Osuccess", OSUC, (char *) 0, 0}, {"Fail", FAIL, (char *) 0, 0}, {"Ofail", OFAIL, (char *) 0, 0}, {"Drop", DROP, (char *) 0, 0}, {"Odrop", ODROP, (char *) 0, 0}, {"Kill", KILL, (char *) 0, 0}, {"Okill", OKILL, (char *) 0, 0}, {"Leave", LEAVE, (char *) 0, 0}, {"Oleave", OLEAVE, (char *) 0, 0}, {"Oxleave", OXLEAVE, (char *) 0, 0}, {"Enter", ENTER, (char *) 0, 0}, {"Oenter", OENTER, (char *) 0, 0}, {"EnterFail", EFAIL, "efail", 0}, {"OEnterFail", OEFAIL, "oefail", 0}, {"Oxenter", OXENTER, (char *) 0, 0}, {"Oteleport", OTELEPORT, (char *) 0, 0}, {"Oxteleport", OXTELEPORT, (char *) 0, 0}, {"Password", PASSWORD, (char *) 0, STR_DARK | STR_NCMD}, {"Site", SITE, (char *) 0, STR_DARK | STR_NCMD}, {(char *) 0, 0, (char *) 0} };