Re: NEWBIE: DGSCRPITS / Emote

From: Thomas Larsson (aarcerak@rocketmail.com)
Date: 09/15/02


Im getting a mob using player special at act.wizard.c
line 127. So i though maybe DGSCRIPTS used this part
of emotes ? If not then im lost.

ACMD(do_echo)
{
  skip_spaces(&argument);

  if (!*argument)
    send_to_char("Yes.. but what?\r\n", ch);
  else {
    if (subcmd == SCMD_EMOTE)
      sprintf(buf, "$n %s", argument);
    else
      strcpy(buf, argument);
    act(buf, FALSE, ch, 0, 0, TO_ROOM);
    if (PRF_FLAGGED(ch, PRF_NOREPEAT)) <-- Line 127
      send_to_char(OK, ch);
    else
      act(buf, FALSE, ch, 0, 0, TO_CHAR);
  }
}


--- "Daniel A. Koepke" <dkoepke@CIRCLEMUD.ORG> wrote:
> On Sun, 15 Sep 2002, Thomas Larsson wrote:
>
> > Could someone tell me if triggers use the Emote
> code in any way ??
>
> First, provide a proper subject to your message.
> "Code" is next to
> meaningless.  Perhaps, "NEWBIE: Triggers and emote?"
>  This is important
> because it allows people to find threads in the
> archives without having to
> go through a million messages all named "Code."
>
> Second, what triggers?  Are you using a specific
> scripting system?  Or do
> you mean spec procs?  Your question is vague.
>
> Third, you can find out for yourself (and, in the
> process, save yourself a
> lot of time).  On *nix:
>
>   # grep -i emote <files you want to scan over>
>
> where, <files you want to scan over> is one or more
> files (or file
> patterns, like "*.c") you want to scan for the given
> regex (in this case,
> "emote").  Other platforms undoubtedly have similar
> capabilities.
>
> -dak
>
> --
>
>
+---------------------------------------------------------------+
>    | FAQ:
>
http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html
> |
>    | Archives:
> http://post.queensu.ca/listserv/wwwarch/circle.html
> |
>    | Newbie List:
> http://groups.yahoo.com/group/circle-newbies/   |
>
+---------------------------------------------------------------+


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT