when using autoexits it says: Exits: N E S W U D what I want it to say is: Exits: North East South West Up Down I tried changing do_auto_exits this way: void do_auto_exits(struct char_data * ch) { int door, slen = 0; *buf = '\0'; for (door = 0; door < NUM_OF_DIRS; door++) if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE && !EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED)) slen += sprintf(buf + slen, "%s ", UPPER(dirs[door])); sprintf(buf2, "Exits: %s%s%s\r\n", CCCYN(ch, C_NRM), *buf ? buf : "None! ", CCNRM(ch, C_NRM)); send_to_char(buf2, ch); } but the UPPER function does not seem to work, what I get is: Exits: north east south west up down plus two compilerwarnings: act.informative.c: In function `do_auto_exits': act.informative.c:424: warning: comparison between pointer and integer act.informative.c:424: warning: comparison between pointer and integer what am I doing wrong? and how do I get the exits printed the way I want them to be? -- /Damian/ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST