I sent that one out a little bit too early, in the VERY next case statement (case 'r') it does it again change the if IS_NPC(actor) to if IS_NPC(rndm) this time. that should help. matter of fact, before that, in the same (!str_cmp(buf, "number" statement this case 'i': lhsvl = mob->points.gold; should be changed to this case 'i': lhsvl = GET_MOB_VNUM(mob); // or mob_index[mob->nr].virtual i think that's it (i haven't really chk'd the others, b/c i was looking for .virtual in my search :-P if i find anymore, i'll be sure to post em. Code On Akuma the Raging Coder +------------------------------------------------------------+ | "The poets talk about love, but what I talk about is DOOM, | | because in the end, DOOM is all that counts." - | | Alex Machine/George Stark/Stephen King, The Dark Half | | "Nothing is IMPOSSIBLE, Just IMPROBABLE" | | "Easier Said Than Done, But Better Done Than Said..." | +------------------------------------------------------------+ +------------------------------------------------------------+ | 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