After seeing someone reviewed it didn't work, i looked at the code and realized that
it was not copied and pasted right into the txt file. I am extremely sorry for any
inconveniences, and this code will work i promise, that is if your using the right
code base.


This command is for getting the attention of a player, by using a beep sound and also 
displays a message to both.  If you have any questions, or problems feel free to email 
me at jason_coke@hotmail.com   Also, not manditory, but a line in credits would be
cool. Peace, Azor

First put this code into act_comm.c  I put mine before tell, but bascially anywhere.




CH_CMD (do_beep)
{
         char arg[MAX_INPUT_LENGTH];
         CHAR_DATA *victim;


         one_argument (argument, arg);

        if (arg[0] == '\0')
         {
                 chsend ("Beep whom?.\n\r", ch);
                 return;
         }
         if ((victim = get_char_world (ch, arg)) == NULL)
        {
                 chsend ("They aren't here.\n\r", ch);
                 return;
        }
         if (victim == ch)
        {
	chsend ("{pWake up Hoser!\n\r", ch);
        return;
        }
         act ("{p$n is trying to get your attention.", ch, NULL, victim, TO_VIC$
         act_new ("{pYou beep $N.",ch, argument, victim, TO_CHAR, POS_RESTING);
         return;
}


Interp.h

Add with other declares:

DECLARE_DO_FUN (do_beep);

Interp.c

Add with other statments:

{"beep", do_beep, POS_RESTING, 0, LOG_NORMAL, 1},



And that should do it, easy eh? 
Have fun with it!