TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: DARIN MCBRIDE
from: MAURICE KINAL
date: 1998-04-09 12:40:00
subject: help

09 Apr 98 08:52, Darin McBride wrote to Anthony Tibbs:
 DM> ModeratorWarning()
 DM> {
 DM>   SmackUser();
 DM>   Say("Tsk, tsk, tsk.");
 DM>   SmackUserAgain();
 DM> }
Hmmmm ... why the need for the two functions SmackUser() and 
SmackUserAgain()?  Couldn't the same be accomplished with the function 
SmackUser() within a suitable loop which could also determine if the User has 
been Smack(ed) sufficiently?  Something along the lines:
while (UserState != SufficientSmacking)
{
   SmackUser();
   Say("Tsk, tsk, tsk.");
   if (strcmp(UserSay(), "Okay enough already!!!") == 0)
      UserState == SufficientSmacking;
}
Note the continued use of SmackUser() until he/she reaches a predetermined 
state of SufficientSmacking.  The "if" statement needs some modification 
since I am not sure that a strcmp() is a suitable check but I think you get 
the general idea.
--- Msged 4.30 beta
---------------
* Origin: ZOLTAN -> Ladysmith, BC (250) 245-7168 (1:351/255)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.