[Circle] Check for string in do_bury

From: Linebacker (linebacker@microlink.net)
Date: 07/26/96


I am adding a do_bury command similiar to sacrifice on
most muds.

It works fine excepts I need a check to make sure
the arg is 'corpse'

How would I code a check for this, I have tried stuff life

if (arg != 'corpse')

if (arg != item_to_bury)
 where item_to_bury is a const char []

And several other vaiations of this but I keep
getting warnings.

I just want a simple check so that players must
enter corpse, or the function reutrns.

Right now players can 'bury' any container.

Thanks;

Chuck

+-----------------------------------------------------------+
| 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/07/00 PST