[bpl14] perform_tell

From: Scorn (scorn@RMI.NET)
Date: 09/19/98

look i posted about a week ago and so far i cant get it to work
i tried using

if(GET_INVIS_LEV(vict) >= 71) {
   send_to_char(CCRED(vict, C_NRM), vict);
   sprintf(buf, "&R$n tells you,&n '&R%s&n'", arg);
   act(buf, FALSE, ch, 0, vict, TO_VICT | TO_SLEEP);
   send_to_char(CCNRM(vict, C_NRM), vict);
   send_to_char(NOPERSON, ch);
   // Make sure not to set the char's last tell to the imm
in perform tell so that the sender would get the noperson and the imm would
still get the tell.  But it doesnt work due to this line in do_tell()
 else if (!(vict = get_char_vis(ch, buf)))
    send_to_char(NOPERSON, ch);
however if i remove that it crashes the game everytime i try to tell
if i put that first GET_INVIS_LEV in to the actual do_tell() it crashes the
game.  What i am trying to do is set it up so mortals can tell gods even if
the gods are invis but they get the NOPERSON so they cant tell for sure if
the god is there or not until answered.  So what could i possibly change
the get_char_vis(ch, buf) to that wont crash the game.

     | 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