onGive1.c

grendel-1.0.0a7/progs/examples/onGive1.c · 353 B

From the archive grendel-1.0.0a7.zip

Download the archive   « Back to the archive contents

void onGive(external ch, external target, string obj)
{
  if(obj.Ovnum == 121)
  {
    do("gasp");
    dO("say You found the soul of that nasty lumberjack who betrayed me long time ago! " +
       "Let me give you this precious ornament as a reward for what you've done!");
    do("oload 1003");
    do("give thievery " + target.Pname);
  } 
}

Site Stats

Snippets: 1791
Codebases: 571