Re: [Extreme Newbie] [Question]

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 03/02/01


Edward Felch wrote:
>
> Um.. well how embarrassing for me; could someone toss me a bit of code that
> would check if an item's name is the same as a player or mob? Thanks

if (!str_cmp(GET_NAME(ch), obj->name)) {
  /* ... */
}

Regards, Peter

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/04/01 PST