JA> I've got a script that all new callers have to answer. It *should*
JA> skip the BBS Sysop info if they answer "no" to the question "do you
JA> run a BBS?" Unfortunately, it doesn't. I've made some minor (cosmetic)
JA> changes that *shouldn't* fix the problem...but my userbase is so low,
JA> I dunno... :) Anyway, here's my questionaire (edited to only show the
remember scripts are processed top-down, unless the flow is interrupted
by a goto, etc. since there is nothing after the notasysop section, the
next section was processed as they are the next lines in the script.
you need to add a line to skip over the visitingsyosp questions.
JA> === End questi.mec ===
JA> Any ideas? Previously the "/L2" and "/L3" sections were reversed.
JA> Based on my limited knowledge of batch-type programming, it
JA> *shouldn't* make a difference which one is first. Also, it WAS working
JA> until recently... *sigh* John
have you tried moving the l2 and l3 sections back to their original
placements? be sure to not re-adjust a visiting sysop's access in the
second (not a sysop) section. you may want to set the user to normal
access at the top of the script, and only increase the visiting sysop's
access within that section particular section only. or do some sort of
conditional if-then on their access (if access=visitingsysop then skip
to next label... and adjust a normal user's access somewhere between
that line and the next label.
or.. organize the script something like this:
do intro stuff for everyone
are you a sysop?
if yes goto l2
if no goto l3
/l2
do sysop questions
adjust access/keys for visiting sysops
goto l4
/l3
do non-sysop questions
adjust access/keys for normal users
goto l4
/l4
do stuff for everyone
(be sure not to change any access/key settings modified in l2 or l3)
end script
--- RemoteAccess 2.50+
---------------
* Origin: Northern Lights! * San Antonio * 210-499-6299 V34/VFC (1:387/23)
|