give.c

progs/give.c · 580 B

From the archive grendel040rc2.zip

Download the archive   « Back to the archive contents

require "glib.c"

void onAct(external ch, external target, string arg)
{
  do("say hiya " + uppercase(target.pname));
  
  if (arg == target.pname + " appears in a puff of smoke.")
  {
    do("say Welcome " + target.pname);
  }
}

void onGive(external ch, external target, external obj)
{
  if (obj.vnum == 104)
  {
    do("say So this is your request?");
    sleep(1);
    do("say Very well, it shall be done.");
    sleep(1);
    do("emote begins to utter some strange incantations...");
    sleep(2);
    do("transfer " + target.pname + " 100");
  }
}

Site Stats

Snippets: 1791
Codebases: 571