Re: Follow

From: shay (shay@highstyleweb.com)
Date: 05/16/02


At 02:36 PM 5/16/2002 -0400, you wrote:
>Anyone got an idea on how you stop the follow routine by command.
>
>If anyones got a snippet of code for putting in ACMD do_follow to stop
>following someone by just entering follow without an argument.
>
>eg
>A is following B
>A types FOLLOW
>A stops following B
>
>ive found the stop_follow routine, but am not sure how to impliment it

probably something like:

if (!*arg) {
         stop_follower(ch);
         return;
}

Or you could take out the line that says:
send_to_char(ch, "Whom do you wish to follow?\r\n");
and replace it with:
stop_follower(ch);

-Shay

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT