Re: [BPL14] perform_tell

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


actually i was looking more for if GET_INVIS_LEV(vict) >= 71
that it sends the argument to victim but send NOPERSON to ch
however the problem i have run into is the
 (!(victim = get_char_vis(ch, buf)))  if i take this out it will crash
whenever you try to tell a non_existent person/mob if i leave it in it wont
tell an invisible immortal becuase the are !get_char_vis no matter what
other code i put in.  So what i need is a way for it to check to see if the
person/mob exists in the world and the GET_INVIS_LEV part.
Scorn

>if(GET_LEVEL(target) >= LVL_IMMORTAL) {
>send_message_to_target;
>send_NO_ONE_HERE_to_character;
> // Make sure not to set the char's last tell to the imm
>return;
>}
>else {
>do_normal_tell_stuff;
>}


     +------------------------------------------------------------+
     | 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