>>else if (is_tell_ok(ch, vict))
>> if (PRF_FLAGGED(vict, PRF_AFK)) {
>> sprintf(buf, %s is AFK.\r\n, GET_NAME(vict));
>> send_to_char(buf, ch);
>> sprintf(buf, "Message: %s\r\n", GET_AFK(vict));
>> send_to_char(buf, ch);
>> }
>>perform_tell(ch, vict, buf2);
>change it to
>
>else if (is_tell_ok(ch, vict))
> if (PRF_FLAGGED(vict, PRF_AFK)) {
> sprintf(buf, %s is AFK.\r\n, GET_NAME(vict));
> send_to_char(buf, ch);
> sprintf(buf, "Message: %s\r\n", GET_AFK(vict));
> send_to_char(buf, ch);
> }
> else
> perform_tell(ch, vict, buf2);
Wouldn't that stop perform_tell from being executed, if player was AFK. I
still want the tell to go through, just with the message being spit back at
the player sending the tell.
RIck
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST