AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to VBBS/VADV Script Discussion  <--  <--- Return to Home Page
   Networked Database  VBBS/VADV Script Discussion   [5 / 233] RSS
 From   To   Subject   Date/Time 
Message   Steve Winn    Col Dallas Vinson   Login Rotater   August 17, 2000
 11:19 PM  

Re: Login Rotater

> Basically just select a random login#.ans file.  Or login.# either way.  I
> could right a batch file that would rename them and cycle them in order (I
> think), but I would like to have them randomized.

Here, try this one out:
' This script will simply pick a random number between 1 and x, and then
' display a text/ansi/rip file. The menu file must be in the form of:
' RNDMNUx.EXT (where x is a number from 1 to 99), and the file must
' be placed in your \VADV\TXT directory. The EXTension can be either ASC,
' ANS, MNU, RIP, or VWC.

' Edit this variable to reflect how many menus you have to choose from.
' Ex: LET A0 = 5    ---> This will choose from five menus.

LET A0 = 5

' Do not modify below unless you know what you are doing :)
' This might be a good script to learn from.. very simple stuff.

LET x = 1
LET x = !6 * A0
LET x = !3 + 1

LET B0 = !25 % "RNDMNU" % x

CLS
MENU B0
PAUSE

' END

I'm attaching it to this message as well..

Steve

Aspect Technologies Design BBS
http://www.at2k.org
telnet://bbs.at2k.org
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to VBBS/VADV Script Discussion  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0179 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108