Problem: You want anyone who's an imp to kill themselves if they type "kill testdummy". Solution: one_argument(argument,buf) if((GET_LEVEL(ch) == LVL_IMPL) && (!strcmp("testdummy",buf))) vict=ch; Place the above code in your do_kill, after you've checked to see if they're a god (and therefore slay instead of do_hit). The one_argument call might have already been made - so double check. PjD +------------------------------------------------------------+ | 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/15/00 PST