default:
write_to_buffer( d, "Please type Yes or No.", 0 );
break;
if (!IS_SET (victim->act, PLR_PK) || !IS_SET (ch->act, PLR_PK))
return TRUE;
else if (IS_SET (victim->act, PLR_PK) && victim->level >= 15
&& IS_SET (ch->act, PLR_PK) && ch->level >= 15)
return FALSE;
struct pc_data
{
…lots of stuff here…
bool pk_set;
}
Basicly what i'm going for is, during character creation adding a yes/no option to join the pkill system. Obviously pkilling isn't for everyone and I'd like to open it up to both the pkiller, and the social non pkiller. Now that stated. I don't want these new pkilling characters to join the pkill/clan system at level 1. Although it would be interesting to see how many level 10's sit at the enterance to "mud school". Currently I've configured my mud to "auto-loner" all characters when they hit level 15. However I only want this to trigger for people that who have opted to join the pkilling system.
Has anyone been able (or even tried) to accomplish this?
I'm guessing I'd have to add a new flag for the way the pfile is generated "pkillon = 1/0" however I haven't quite been able to wrap my head around how character creation is generated. FYI I am a novice programer, I have been able to add some new commands/features. However to date I think this is the most complicated (which I'm sure it's not, I'm just not looking at it the right way) thing I've decided to take on.
Any assistance would be great, if/when I get it working, I'll gladly post the final code for y'all to use if you want.
Thanks,