home *** CD-ROM | disk | FTP | other *** search
- *StUEdit
- *edit
- SetEqual (f=1)
- SetEqual (e=0)
- SetEqual (w=0)
- SetEqual (z=1)
- SetEqual (m=0)
- *moreedit
- ClearScr
- LoadUser(%var%z)
- SetEqual (x=0)
- *EvenMoreEdit
- AnsiGoto (1,1) ;Puts the cursor in the top left hand corner of the screen.
- If (&w)=(1) then goto (putinfo) ;if %var%w is 1 then skip rewrite
- Say ($0$&15&Name : Birthdate: )
- Say (Street : Times On: )
- Say (From : Computer Using: )
- Say (Phone : Carrier Drops: )
- Say (Sec : Work Phone: )
- Say (Passwd : Subscriber: )
- Say (TimeLeft: Sub Date Exp: )
- Say (Memo : )
- Say (Downlds : Avail For Chat: )
- Say (Uploads : )
- Say (KDled : )
- Say (KUled : )
- *PutInfo
- say (&14&*)
- LocPrint (1,11,\:NAME\)
- LocPrint (2,11,\:STREET\)
- LocPrint (3,11,\:FROM\)
- LocPrint (4,11,\:PHONE\)
- LocPrint (5,11,\:SEC\)
- LocPrint (6,11,\:PASS\)
- LocPrint (7,11,\:LEFT\)
- LocPrint (8,11,\:MEMO\)
- LocPrint (9,11,\:DOWNLOADS\)
- LocPrint (10,11,\:UPLOADS\)
- LocPrint (11,11,\:KDOWN\)
- LocPrint (12,11,\:KUP\)
- LocPrint (1,51,\:BIRTH\)
- LocPrint (2,51,\:TIMESON\)
- LocPrint (3,51,\:COMP\)
- LocPrint (4,51,\:DROPPED\)
- LocPrint (5,51,\:WORK\)
- LocPrint (6,51,\:SUB\)
- LocPrint (7,51,\:SUBDATE\)
- LocPrint (9,51,\:DEFAVAIL)
- AnsiGoto (1,14)
- If (&x)=(1) then goto (Check)
- If (&e)=(1) then goto (Secondary)
- If (&m)=(1) then goto (Secondary)
-
- *AndMore
- Say (&4&╔═══════════════════════════════════════════════════════════════════════════╗)
- Say (║&7& KEYS: *)
- say (Edit this User *)
- say (&4& ║)
- Say (║&7& 2 = Move Down *)
- say (Next User *)
- say (&4& ║)
- Say (║&7& 8 = Move Up *)
- say (Previous User *)
- say (&4& ║)
- Say (║&7& (ENTER) Selects *)
- say (Last User *)
- say (&4& ║)
- Say (║&7& Search for User &4& ║)
- Say (║&7& Quit to Sysop Menu &4& ║)
- Say (╚═══════════════════════════════════════════════════════════════════════════╝)
- Goto (Check) ;90 chars is cutoff for ctl file lines...
-
- *Secondary
- Say (&4&╔═══════════════════════════════════════════════════════════════════════════╗)
- Say (║ ║)
- Say (║ ║)
- Say (║ ║)
- Say (║ ║)
- Say (║ ║)
- Say (║ ║)
- Say (╚═══════════════════════════════════════════════════════════════════════════╝)
- If (&m)=(1) then loadmem(control\uedit3.ctl,goto(Another))
- If (&e)=(1) then loadmem(control\uedit2.ctl,goto(Edit))
-
- *Check
- If (&f)=(1) then goto (place1)
- If (&f)=(2) then goto (place2)
- If (&f)=(3) then goto (place3)
- If (&f)=(4) then goto (place4)
- If (&f)=(5) then goto (place5)
- If (&f)=(6) then goto (place6)
- *more
- MenuKey%CRON%
- if (%resp%)=(<CR>) then goto (chkifs)
- bigif (2:movehighlightfd,8:movehighlightbk,f:first,q:exedit)
- Goto(BadSel)
-
- *Chkifs
- NotIf (&f)=(2) then goto (moreifs)
- goto (cont)
- *moreifs
- If (&f)=(6) then goto (exedit)
- NotIf (&f)=(3) then goto (lastifs)
- Goto (cont)
-
- *lastifs
- NotIf (&f)=(4) then Loadmem(control\uedit2.ctl,goto(selection))
- *Cont
- If (&f)=(4) then goto (Last)
- If (&f)=(3) then goto (prev)
- SaveUser (%var%z) ;Saves the record number of %var%z.
- inc(z)
- Numbusers();
- SetEqual (d=%ARESP%)
- inc(d)
- CmpVal(%var%d,%var%z);
- iftrue (setequal(Z=%var%d))
- SetEqual (x=1)
- Goto (Clearinfo)
-
- *Prev
- SaveUser (%var%z)
- SetEqual (z=%var%z)
- NotIf (&z)=(0) then AddVar (&z+-1=z)
- If (&z)=(0) then SetEqual (z=1)
- SetEqual (x=1)
- Goto (Clearinfo)
-
- *Last
- SaveUser (%var%z)
- Numbusers
- SetEqual (z=%ARESP%)
- SetEqual (x=0)
- Goto (ClearInfo)
-
- *First
- SetEqual (z=1)
- Goto (ClearInfo)
-
- *Temp
- ClearScr
- return
-
- *EditUser
- Say (&7&Enter letter of item to change (Q to Quit Changing): *)
- MenuKey
- Say (&15& %RESP%)
- BigIf(N:ChgName,S:ChgSt,F:ChgFrom,H:ChgPhone,C:ChgSec,P:ChgPass,T:ChgTL)
- BigIf(M:ChgMemo,D:ChgDls,U:ChgUls,K:ChgDlK,L:ChgUlK,Q:Quit)
- Goto(BadSel)
-
- *BadSel
- AnsiGoto (30,15)
- Say ( *)
- AnsiGoto (30,16)
- Say ( *)
- AnsiGoto (30,17)
- Say ( *)
- AnsiGoto (30,18)
- Say ( *)
- AnsiGoto (30,19)
- Say ( *)
- AnsiGoto (30,20)
- Say ( *)
- AnsiGoto (30,17)
- Say (&12&Invalid Selection!*)
- SecPause(2)
- AnsiGoto (1,14)
- Goto (AndMore)
-
- *Quit
- SetEqual (f=1)
- SetEqual (e=0)
- SetEqual (z=1)
- SetEqual (m=0)
- SetEqual (e=0)
- Goto (EvenMoreEdit)
-
-
- *Place1
- AnsiGoto (30,15)
- Say ($7$&0&Edit this User$0$*)
- Goto (more)
-
- *Place2
- AnsiGoto (30,16)
- Say ($7$&0&Next User$0$*)
- Goto (more)
-
- *Place3
- AnsiGoto (30,17)
- Say ($7$&0&Previous User$0$*)
- Goto (more)
-
- *Place4
- AnsiGoto (30,18)
- Say ($7$&0&Last User$0$*)
- Goto (more)
-
- *Place5
- AnsiGoto (30,19);
- Say ($7$&0&Search for User$0$*)
- Goto (more)
-
- *Place6
- AnsiGoto (30,20)
- Say ($7$&0&Quit to Sysop Menu$0$*)
- Goto (more)
-
- *NormPlace1
- AnsiGoto (30,15)
- Say ($0$&7&Edit this User)
- SetEqual (f=2)
- Goto (check)
-
- *NormPlace2
- AnsiGoto (30,16)
- Say ($0$&7&Next User)
- SetEqual (f=3)
- Goto (check)
-
- *NormPlace3
- AnsiGoto (30,17)
- Say ($0$&7&Previous User)
- SetEqual (f=4)
- Goto (check)
-
- *NormPlace4
- AnsiGoto (30,18)
- Say ($0$&7&Last User)
- SetEqual (f=5)
- Goto (check)
-
- *NormPlace5
- AnsiGoto (30,19)
- Say ($0$&7&Search for User)
- SetEqual (f=6)
- Goto (check)
-
- *NormPlace6
- AnsiGoto (30,20)
- Say ($0$&7&Quit to Sysop Menu)
- SetEqual (f=1)
- Goto (Check)
-
- *BkPlace1
- AnsiGoto (30,15)
- Say ($0$&7&Edit this User)
- SetEqual (f=6)
- Goto (check)
-
- *BkPlace2
- AnsiGoto (30,16)
- Say ($0$&7&Next User)
- SetEqual (f=1)
- Goto (check)
-
- *BkPlace3
- AnsiGoto (30,17)
- Say ($0$&7&Previous User)
- SetEqual (f=2)
- Goto (check)
-
- *BkPlace4
- AnsiGoto (30,18)
- Say ($0$&7&Last User)
- SetEqual (f=3)
- Goto (check)
-
- *BkPlace5
- AnsiGoto (30,19)
- Say ($0$&7&Search for User)
- SetEqual (f=4)
- Goto (check)
-
- *BkPlace6
- AnsiGoto (30,20)
- Say ($0$&7&Quit to Sysop Menu)
- SetEqual (f=5)
- Goto (Check)
-
- *MoveHighlightFd
- setequal(/resp=%var%f)
- bigif(1:normplace1,2:normplace2,3:normplace3,4:normplace4,5:normplace5,6:normplace6)
- Goto (Edit)
-
- *MoveHighlightBk
- setequal(/resp=%var%f)
- bigif(1:Bkplace1,2:Bkplace2,3:Bkplace3,4:Bkplace4,5:Bkplace5,6:Bkplace6)
- Goto (Edit) ;bknormplace -> bkplace because other is > 90 chars...
-
- *ClearInfo
- AnsiGoto (11,1)
- Say ( *)
- AnsiGoto (11,2)
- Say ( *)
- AnsiGoto (11,3)
- Say ( *)
- AnsiGoto (11,4)
- Say ( *)
- AnsiGoto (11,5)
- Say ( *)
- AnsiGoto (11,6)
- Say ( *)
- AnsiGoto (11,7)
- Say ( *)
- AnsiGoto (11,8)
- Say ( *)
- AnsiGoto (11,9)
- Say ( *)
- AnsiGoto (11,10)
- Say ( *)
- AnsiGoto (11,11)
- Say ( *)
- AnsiGoto (11,12)
- Say ( *)
- AnsiGoto (51,1)
- Say ( *)
- AnsiGoto (51,2)
- Say ( *)
- AnsiGoto (51,3)
- Say ( *)
- AnsiGoto (51,4)
- Say ( *)
- AnsiGoto (51,5)
- Say ( *)
- AnsiGoto (51,6)
- Say ( *)
- AnsiGoto (51,7)
- Say ( *)
- AnsiGoto (51,9)
- Say ( *)
- LoadUser (%var%z)
- SetEqual (x=0)
- Goto (PutInfo)
-
- *exedit
- clearscr
- return
-