[HELP] crash boom bag, spell code

From: Kaun Lazaro (circle_777@hotmail.com)
Date: 01/31/01


ASPELL(spell_rename)
{
  char buf[MAX_INPUT_LENGTH];
  char *nstr = '\0';
  char *ostr = '\0';

  nstr = one_word(str, str);
  skip_spaces(&nstr);

  if (!*nstr) {
    send_to_char("Change what to what?!?\r\n", ch);
    return;
  }
  ostr = obj->short_description;
  obj->short_description = nstr;
  sprintf(buf, "Changed %s to %s. successfuly!\r\n", ostr,
obj->short_description);
  send_to_char(buf, ch);
}

This is the spell code that changed the name of an individual object, any
help would be great...

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/03/01 PST