Re: [Newbie] Getting character's name for == conditional

From: Patrick J. Dughi (dughi@IMAXX.NET)
Date: 03/24/98

        Problem: You want anyone who's an imp to kill themselves if they
type "kill testdummy".


                if((GET_LEVEL(ch) == LVL_IMPL) &&

           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.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST