/*************************************************************************************** I find that most snips are hard to add, or are sent in untested, :P SO i took time to makesure this works, and is easy to add. Hope u like it. OH also dont bother with credit anywhere this isso primitive that it dosent diserve credit :P Use it freely. ****************************************************************************************/ Role Playing Snipit - Activates a player as IN-char or OUT OF-char, i also added a little + on the who list. This Snip was created by David Walker (absolute.iflipout.com:3801) for use by all. --== act_wiz.c ==-- 1. At the top (after all the #define "blah" stuff, BUT before the start of code... add bool rpoff = TRUE; 2. Then add this at the end(or whereever) you want to in act_wiz.c void do_rp (CHAR_DATA *ch, char *argument) { char arg[MIL]; argument = one_argument(argument,arg); if (arg[0] == '\0') { send_to_char ("Do you want RolePlaying on or off?\n\r", ch); return; } if (!str_cmp(arg, "on")) { if (!rpoff) { send_to_char ("RolePlaying is already on.\n\r", ch); return; } rpoff = FALSE; send_to_char ("RolePlaying is now on.\n\r", ch); SET_BIT (ch->act, PLR_ROLEPL); } if (!str_cmp(arg, "off")) { if (rpoff) { send_to_char ("RolePlaying must be on to turn off\n\r", ch); return; } rpoff = TRUE; send_to_char ("RolePlaying is now off.\n\r", ch); REMOVE_BIT (ch->act, PLR_ROLEPL); } } --== END act_wiz.c END ==-- --== merc.h ==-- 1. In Global variables section add, mine is under the WEATHER part. bool rpoff; 2. then in the PLR_blah defines add #define PLR_ROLEPL --== END merc.h END ==-- --== interp. c/h ==-- 1. To interp.h add DECLARE_DO_FUN( do_rp ); 2. to interp.c (in the immortal section) add... {"rp", do_rp, POS_STANDING, 0, LOG_NEVER, 1}, --== END interp. c/h END ==-- --== act_info.c ==-- 1. in the do_who section in both the Immortal and Mortal section (if you have split who, other wise just to the one) add in the part... [%-2d blah...] more blah... add a %s after the first [ and make it look like, [%s %-2d blah... then where all the %s stuff is placed(under it), the first thing above the LEVEL, add IS_SET(wch->act, PLR_ROLEPL) ? "*" : " ", ^ ^ add color id needed REMEMBER THIS SPACE!!!! --== END act_info.c END ==-- That should be all, just make clean(or rm *.o) then remake and that should be all(works for me), if there are probs email me placrosse1222@aol.com thanks --dave walker -- aka, AzRaIl