On Sat, 8 Jan 2000, Michael Gallagher wrote:
>if (!(str_cmp("north", buf))) {
> direction = NORTH;
>}
>if (!(str_cmp("south", buf))) {
> direction = SOUTH;
>}
Out of act.movement.c:
if ((door = search_block(dir, dirs, FALSE)) == -1) { /* Partial Match */
send_to_char("That's not a direction.\r\n", ch);
return (-1);
}
--
George Greer | Mailing list archives
greerga@circlemud.org | http://post.queensu.ca/~listserv/wwwarch/circle.html
+------------------------------------------------------------+
| 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 : 04/10/01 PDT