Coding in the .csite & .flogin command

this is no easy task.. since what I thought was another case of look at the patterns, see if the puzzle fits in, & compiles.. I started with the .flogin.. and that was a pain in the ass.. in fact now am sorta stuck.. this is where it started:

I checked the amnuts.c on the 2.2.1 version & found this line: ” case FLOGIN : toggle_signoff(user); break; “

So once again, I copied that same line on my amnuts230.c code.. tried to compile it &, yes I get this major error message:

” /home/nrunner/amnuts230rc1/src/amnuts230.c:5650: undefined reference to `toggle_signoff’ “

I won’t furhter adding on the .csite command until I’m succesful in finishing this .flogin command.. next on the project list.. objectfiles! later!

-AGENTx

One Response to “Coding in the .csite & .flogin command”

  1. nrunner Says:

    I believe this is the line I’m looking for to code in to the Amnuts 2.3

    if (word_count<3 && inpstr[0]!=’-') {
    write_user(user,”Say what to who?\n”);
    return;
    }
    if (word_countsignoff && u->level>user->level) {
    write_user(user,notloggedon);
    smiley_type(inpstr,type);
    inpstr=remove_first(inpstr);
    if (user->vis || u->level>=user->level) name1=user->bw_recap; else name1=invisn$
    sprintf(text,”~FT%s %ss (to %s):~RS %s\n”,name1,type,name2,inpstr);
    write_user(u,text);
    record_tell(u,text);
    return;
    }

Leave a Reply

You must be logged in to post a comment.