I tried once more with this sedit...

The directions were a little screwy I think... because
it says shutdown the mud, compile, and maxSocial
wasn't declared yet so it was giving me that error. In
the directions it says to compile before you add in
the declaration for maxSocial. . . So instead I added
it in the 1st step. It converted social.are to
social.txt so now all the socials are in tact! But..
now when I do "do_socials" it doesn't bring up any
socials. 

/* RT does socials */
void do_socials (CHAR_DATA * ch, char *argument)
{
    char buf[MAX_STRING_LENGTH];
    int iSocial;
    int col;

    col = 0;

    for (iSocial = 0; social_table[iSocial].name[0] !=
'\0'; iSocial++)
    {
        sprintf (buf, "{c%-15s{x",
social_table[iSocial].name);
        send_to_char (buf, ch);
        if (++col % 4 == 0)
            send_to_char ("\n\r", ch);
    }

    if (col % 6 != 0)
        send_to_char ("\n\r", ch);
    return;
}


This has something to do with the social table maybe?
Any help? Thanks for all the help before

Brittany

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to