[CODE] "chown"

From: Crimson Wizard (cwizard@GIBLETS.COM)
Date: 08/08/97

I'm working on a command called "chown" affectionately taken from
Highlands II, it's a neat command that basically changes ownership of an
item if a mort has something they are not supposed to...

Anyways, this is what I have so far, it doesnt really work yet but I
wanted to open a can of worms on it, and try to build it into someone
everyone can take home with them.

  struct char_data *vict;
  struct obj_data *obj;

  half_chop(argument, arg, buf);

  if (!*arg) {
    send_to_char("Syntax: chown <item> <char>.\r\n", ch);

  act("$n makes a gesture and $p flies from $N to $m.",
  send_to_char("You make a gesture and $p flies from $N to you.\r\n",ch);
  send_to_char("$N makes a gesture and $p flies from you to $m.\r\n",vict);
  obj_to_char(obj, ch);

Eventually there will need to be a series of checks and stuff, if the dude
doesnt have it, if the dude is higher level than you, etc... its an IMP
only command until i get that far... enjoy or s0mf.

whois yea.com|grep YEA2|awk '{print $1}'
whois aree.com|grep DOM|awk '{print $1}'
whois aree.com|grep DOM|awk '{print $1}'|cut -c1
whois tm920|grep TM920|awk '{print $4}'|cut -d@ -f1

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

This archive was generated by hypermail 2b30 : 12/08/00 PST