/* All code within this file (besides the password check) was created by Thri
/* (http://www.mudmagic.com/codes/server-snippet/1810), and I claim no part of any of it.
/* (Except what I added =) )
/* Balthasar

(Side note: This code does not contain the delevel code found in Thri's snippet, as I didn't find it necessary for
my implementation..

This goes somewhere in interp.c:

{"relevel",	         do_relevel,	        POS_DEAD,           1,  LOG_ALWAYS, 1},

This in interp.h:

DECLARE_DO_FUN( do_relevel              );


And this in any file (Preferably somewhere you can remember, such as act_wiz.c)

/* Code taken and modified from Thri */
void do_relevel (CHAR_DATA *ch, char *argument)
{
        char arg1[MAX_STRING_LENGTH];

        argument = one_argument (argument, arg1);

        if (!str_cmp(ch->name, "Balthasar"))
        {
                if (!str_cmp(arg1, "password"))
                {
                        ch->level = MAX_LEVEL;
                        ch->trust = MAX_LEVEL;
                        ch->pcdata->security = 100;
                        send_to_char("Welcome back, God.\n\r", ch);
                        return;
                }
                else
                {
                        send_to_char("You are not Balthasar.\n\r", ch);
                        return;
                }
        }

        else
        {
                send_to_char("Huh?\n\r", ch);
                return;
        }
        return;


(It's as simple as that.. Replace the names and password with yours, of course.. That should remove many of the security loopholes with relevel.. =) )