Re: [Circle] [code]Sacrifice command

From: mike a dunston (magic__man@juno.com)
Date: 11/14/96


On Wed, 13 Nov 1996 05:41:44 -0500  grond@grotl.com writes:
>trying to imp a sacrifice command.
>vnum_object(arg, ch) < 0 where arg is the word corpse, otherwise it
>should fail, and it won't recognize that one.
>We've tried to do a str_cmp("corpse", arg) and it won't recognize that
>one.

Ok this sounds like something i did in some of my programs, ok, look at
the different places that the string "corpse" is located and check the
case... or use something like...

if (strcpr("CORPSE", toupper(arg)) == TRUE) {
....do something...
}

ok i know that this might not work with your version but i have done it
on my system with a few of my programs...of course you will need to check
that TRUE is defined, i think that it is defined in "utils.h"


Magic__Man@Juno.Com
Mike Dunston
1@2948.SierraLink  -  WWIV BBS Network
+-----------------------------------------------------------+
| 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