This is the gain study command.  It's simple to put in, but for those newbie coders that aren't sure, i'll do simple step by step instructions of what to do.

*--------*
|Skills.c|
*--------*
Find this portion of code:

if (!str_prefix(arg,"convert"))
    {
	if (ch->practice < 10)
	{
	    act("$N tells you 'You are not yet ready.'",
		ch,NULL,trainer,TO_CHAR);
	    return;
	}

	act("$N helps you apply your practice to training",
		ch,NULL,trainer,TO_CHAR);
	ch->practice -= 10;
	ch->train +=1 ;
	return;
    }

Dont change it, but directly below it put in this code:

/* Gain Study Command by Calan */
if (!str_prefix(arg,"convert"))
    {
	if (ch->train < 1)
	{
	    act("$N tells you 'You are not yet ready.'",
		ch,NULL,trainer,TO_CHAR);
	    return;
	}

	act("$N helps you trade in your training session for practice sessions.",
		ch,NULL,trainer,TO_CHAR);
	ch->practice += 10;
	ch->train -=1;
	return;
    }

*-------*
|Rom.are|
*-------*

Go to the GAIN helpfile and add this below the info on gain convert:

gain study:   turns 1 training session into ten practice sessions

---
That's it.  It's a pretty simple command to figure out, but I might as well give it to those who might want it.  You can give me credit if you want, but this is so simple it's not needed.  You might want to change what it shows the players at various times, and you also might want to rename it.

-Calan
 plexygold@hotmail.com