Subj : hepp meeeee!
To   : Spiritwild
From : Tinman
Date : Tue Apr 20 1999 09:45 am

RE: hepp meeeee!
BY: Spiritwild to TOMMYKNOCKER on Mon Apr 19 1999 10:26 pm

> What I am doing is trying to make a trivia door
> and the "setstr and getstr " functions are what I'm using.
> Only problem is that when you go to answer the question,
> if you hit ctrl-c it accepts the command as true and awards ya
> 50 points. even though you don't type in a damned thing ! :)

When the programing gets tuff, the programer must get creative,. thats my
motto.... here's what i would try..

when you get the input, from the user, check to see if it is within the valid
limits, example:

if there is a menu that says: (1) do something (2) go someware (Q) Quit.

Check and see if the user enterd eather '1' '2' or 'q', if he didnt, then
remove 50 points, because he musta hit ctrl-c, this will compansate you.

it's not a "direct" fix to your problem, but as i said, sometimes you need to
be creative.   :-)

                                        /-\TiN MaN/-\

---
� Synchronet � telnet://talamasca-bbs.com   http://www.talamasca-bbs.com