Hello:)
I'm trying to get that boring old message:
Bob has arrived.
and turn it into:
Bob has arrived from the south.
I've tryed:
if (!IS_AFFECTED(ch, AFF_SNEAK)) {
sprintf(buf2, "$n has arrived from the %s.", dirs[dirdir]);
act(buf2, TRUE, ch, 0, 0, TO_ROOM); }
Where dirdir is a switch of dir (gets the opposite). Dirdir is an int.
But it crashes, any ideas why?
Corey Hoitsma AKA -= Myrddin =-
____ choitsma@netcom.com
L|azmania blackhwk.interpath.net 7000
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST