home *** CD-ROM | disk | FTP | other *** search
- ;Modern Technology-GraphYn [PPE] for PCBoard v15.0
- ;Replaces PCBoard prompt "Do you want graphics (Enter)=no?"
-
- boolean hasansi
- boolean hasrip
-
- string grafyn_prt
- string caller_response
- string cmdline
- string nonews
- string yeswelc
- string ansi
- string rip
- string noansi
-
- cmdline = tokenstr()
-
- inputstr "@X0EDo you want graphics (Enter)=no",caller_response,07,6,"QSR",FIELDLEN+LFAFTER+STACKED+UPCASE+YESNO
-
- if (caller_response="" & !hasansi) caller_response=NOCHAR()
- if (instr(caller_response,"NS")) then
- nonews="NS"
- caller_response=left(caller_response,instr(caller_response,"NS")-1)+right(caller_response,len(caller_response)-(instr(caller_response,"NS")+1))
- endif
-
- if (instr(caller_response,yeschar())) ansi = yeschar()+";"
- if (instr(caller_response,nochar())) noansi = nochar()+";"
- if (instr(caller_response,"Q")) yeswelc = ""
- if (instr(caller_response,"R")) rip = "R;"
-
- KBDSTUFF rip+ansi+noansi+yeswelc+nonews+chr(13)
-
- newlines 1
-
- end
-