You could try this: if (!AFF_FLAGGED(i, AFF_GROUP)) { change to if (!AFF_FLAGGED(i, AFF_GROUP) || (AFF_FLAGGED(i, AFF_GROUP) && (i->master != k))) { That'll check if the other group has the same leader and if not display your message. Rick -----Original Message----- From: Corey Elliott <strmchsr@arn.net> To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca> Date: Saturday, March 06, 1999 6:48 PM Subject: [NEWBIE] [CODE] Group Problems >Sorry, a newbie coder here, below code is really hacked. > >I just came up with some code that ALMOST works for what I have it >planned for! This is used in a mobs spec_proc and is used to send a >message to the room. If the person is in a group, sends it to everyone >in the group, if not, just to the person. Everyone else doesn't see what >is being said, just that their is talking going on. The problem I am having >is >if there are 2 groups in the room at the same time, I can't figure out how >to display to the by-standing group what is going on. Understand???? +------------------------------------------------------------+ | 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