home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
bbsutils
/
mt_grfyn.arj
/
GRAFYN.PPS
< prev
Wrap
Text File
|
1993-07-03
|
1KB
|
39 lines
;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
;inputprt 149,caller_response,07,6,"QSR" ,FIELDLEN+LFBEFORE+LFAFTER+STACKED+UPCASE+YESNO
;promptstr 149,caller_response,07,6,"QSR",FIELDLEN+LFBEFORE+GUIDE+UPCASE+LFBEFORE
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