Re: [DG Script] Trigger is making ME say "You say..",New Information, still lost though

From: shay (shay@unique-software.com)
Date: 08/03/00


That was it Del, Thanks.  It appears that when i did the Oasis2.0
patch, it swapped things around a bit and put the delete_doubledollar
above the "$n says..." which would remove the part I want in there.. DOH!
but thats an oasis prob, not mine.. hehehe..  anywayz, all works now,
thanks all.

Shay aka Gothic


-----Original Message-----
From: Circle Discussion List [mailto:CIRCLE@post.queensu.ca]On Behalf Of
Del
Sent: Thursday, August 03, 2000 9:56 AM
To: CIRCLE@post.queensu.ca
Subject: Re: [CIRCLE] [DG Script] Trigger is making ME say "You
say..",New Information, still lost though


shay wrote:
>
> Ok, heres something new.  This must not be because of the triggers.
> When i do:
> "force cityguard say hi", it does:
> "You say, Hi"
> now that isnt right.  Where would the "say" be interpreted for mobs
> so that They say it instead of myself???
>

Check the file

act.comm.c

ACMD(do_say)
{
  skip_spaces(&argument);

  if (!*argument)
    send_to_char("Yes, but WHAT do you want to say?\r\n", ch);
  else {
    sprintf(buf, "$n says, '%s'", argument);
    act(buf, FALSE, ch, 0, 0, TO_ROOM|DG_NO_TRIG);

    if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOREPEAT))
      send_to_char(OK, ch);
    else {
      delete_doubledollar(argument);
      sprintf(buf, "You say, '%s'\r\n", argument);
      send_to_char(buf, ch);
    }
  }
  /* trigger check */
  speech_mtrigger(ch, argument);
  speech_wtrigger(ch, argument);
}


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | 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 : 04/11/01 PDT