Hmm... well one thing wrong with this snippet is the person you
are sending the messages to is the same person you are checking
to see if they are a mob or not. Maybe you have it backwards
and it always says its a player? Or are you switched into the
mob to see the result? Once your switched I dont think it would
register as a mob anymore... although I may be wrong..I would
have to look at the code.
Mike
> if(!IS_NPC(ch)){
> send_to_char("Not a mob",ch);
> }else{
> send_to_char("A mob.",ch);
> }
+------------------------------------------------------------+
| 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 : 12/15/00 PST