> Hello all,
>
> I was trying to add an 'announcement feature' to a function I
> implemented today.  I have having a hard getting the right syntax.   It
> is for an immortal command, that will affect 2 players (victim,
> victim2).
>
> I wanted to list both victims in this announcement but can't get that
> to work correctly.  I'd ultimately like to include the Immortal doing
> the command in the annoucement as well if possible.
>
> Any help would be greatly appreciated.
>
> Thanks,
> -Mike
>

Ok.. without seeing any code.. I'm shooting wildly in the dark here...

char buf[MSL];

sprintf(buf, "[Announcement by $n] Player %s and Player %s have done
something", victim1->name, victim2->name);

act_new(buf, ch, NULL, NULL, TO_ALL, POS_DEAD);

Other than that, I'm not sure what you're trying to do...

Jef



Reply via email to