int isname(const char *str, const char *namelist) { const char *newlist; const char *curtok; newlist = strdup(namelist); /* make a copy since strtok 'modifies' strings */ for(curtok = strtok(newlist, WHITESPACE); curtok; curtok = strtok(NULL, WHITESPACE)) if(curtok && is_apart(str, curtok)) /* was if(curtok && is_abbrev(str, curtok)) in Jvrgen's code */ free(newlist); return 1; free(newlist); return 0; } i put that into the code, now i can't look at anything.. everytime i type l fido or k fido, or k fi or anything, it points at me.. just as if i wrote k me.. i have another question.. is there a way i can make an npc immortal, without making the room peaceful or give the npc 50 million hp? :) and.. is there a dg script compatible with bpl21? _________________________________________________________________ MSN Foto är det enklaste sättet att dela eller skaffa papperskopior av dina foton: http://photos.msn.com/support/worldwide.aspx -- +---------------------------------------------------------------+ | 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