well, I am not sure if this'll work or not, since darkstr is down as I say this.. but I am ptuting this in so you can "guild bob" and bob can kill anyone else who is in a guild.. =) anyways, put this in interpreter.c: ACMD(do_guild); <a ways down> { "guild" , POS_DEAD , do_guild , LVL_IMPL, 0 }, then in fight.c in do_murder make a check for the PRF_GUILD.. define the flag in structs.h.. and it should work.. <oh yeah put thisin act.wizard.c: ACMD(do_guild) { if (IS_NPC(victim) || PRF_FLAGGED(victim, PRF_GUILD)) { send_to_char("They are already in a guild!", ch); return; } else { *buf = '\0'; SET_BIT(PRF_FLAGS(victim), PRF_GUILD); sprintf(buf, "%s is now in a guild.", GET_NAME(victim)); send_to_char(buf, ch); send_to_char("You are now in a guild.", victim); } } Nashak Brian Williams The Realms of Luminari nashak@darkstr.com bmw@efn.org darkstr.com 6969 +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/07/00 PST