| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | sched.btm - dayboot replacemnt |
Jasen Betts wrote in a message to All:
JB> if "%1"=="HELP" .or.
"/HELP"=="%1" .or. "%1"=="-HELP" %=
JB> ( *ffind /VMKT"%{at}char[58]!" %_BATCHNAME | *list %+ goto usage )
I see a problem the way you have this %1 can only be: ("HELP" or
"/HELP").
The user can input:
help
helP
heLp
Help
.
.
.
What you need to do is:
if "%{at}UPPER[%1]" =="HELP" .or.
"/HELP"=="%{at}UPPER[%1]" .or.
"%{at}UPPER[%1]"=="-HELP" %=
The above converts the %1 INPUT to ALL UPPER Case.
It does NOT change the Value of %1.
Try having %1 be "HeLp", see what happends.
Hope this helps,
Bob
---
* Origin: (1:229/650.100)SEEN-BY: 633/267 270 @PATH: 229/650 1000 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.