If you use DG scripts you could use get_char from dg_scripts.c
or use:
You could always drop this in your db.c and use it.
struct char_data *get_char_by_name(char *name)
{
struct char_data *i;
int idnum;
idnum = get_id_by_name(name);
for (i = character_list; i; i = i->next)
if (GET_ID(i)==idnum) &&
return i;
}
return NULL;
}
You should be able to send to the char then.
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT