ht_ell.c

dw_fluffos_v1/lib/cmds/player/ht_ell.c · 603 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

int cmd(string arg, int brief){
  function bing;

  bing = this_player()->get_htell_func();
  arg = this_player()->expand_nickname(arg);
  return evaluate(bing, arg, brief);
}


mixed *query_patterns()  {
    return ({ "brief search <string'name'>", (: cmd(lower_case($4[0]), 1) :),
              "search <string'name'>", (: cmd(lower_case($4[0]), 
                                     !this_player()->query_verbose("htell")) :),
              "brief", (: cmd("", 1) :),
              "verbose", (: cmd("", 0) :),
              "", (: cmd("", !this_player()->query_verbose("htell")) :)
           });
}

Site Stats

Snippets: 1791
Codebases: 571