Subj : hepp meeeee!
To   : Spiritwild
From : Digital Man
Date : Mon Nov 15 1999 07:09 am

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

> Yeah, I've tried a little bit of everything.
> I am stumped.
>
> 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 ! :)

Try this (taken from EXEC\DIR.SRC):

   copy i _sys_status
   and i SS_ABORT
   compare i 0
   if_not_equal # Ctrl-C hit
       print "Aborted.\n"
       goto end
       end_if

Put this code after your getstr call to check for ctrl-c.

Rob

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