[255D[0;1m
[32mBAJA PROGRAMMING


[16C[37m   Ŀ
[16C [31mA Practical    [37m  [12C
[16C[6C[31mGuide to  [37m[5C[35mCreating  [37m
[16C[16C  [12C
[16C  \  / \Ĵ
[16C[7C[36m"Rooms"[5C[37m[12C
[16C /\    [32mIn[7C[37m
[16C[11C[7C[12C
[16C[34mSynchronet [37m  [0;36mBBS  [1;37m [33mSystems    [37m
[16C



Here is the way I configured [0;36m"rooms" [1;37mor virtual BBSes for my [34mSynchronet
[37mBBS, [33mCOMM*Net[37m. Read this through and be sure you understand it so that
you can reconfigure the steps to suit your board.

[23C[33m--------------------------

[32C[35mOVERVIEW

[8C[32mUser John Lite logs on to the BBS and wants to go into the PC
Support area[37m. He wants to [36mread messages[37m, [36mlook for new files[37m, [36mchat with
others [37mthat he knows are interested in [33mPC Support [37malso, and run a
[32mdatabase [37mthat accesses a list of PC based, shareware heavy BBSes.

[8CFrom the Main Menu, he hits the [31m"R" [37mkey to take him to the
[33m"Rooms Master Menu" [37mwhere he selects room #1, PC Support.

[8CAfter he hits the [31m"1" [37mkey, the [33mbaja-shell runs exec_xtrn <code>
[37mand [32mruns a batch file that copies a text file (c:\sbbs\xtrn\pccprt\pcIN.txt)
[37mto John's node directory and renames it "[36mmoduser.dat[37m". This file removes
his access to all the rest of the board, and gives him access to the
room's features. [34mSynchronet [37mreads this file and modifies his ARS
settings on return from this xtrn program and his access is modified
instantly.

[8CThen, the [34mshell [37mruns a [36mmymod.bin [37m(a baja module - which for my
test was a complete command shell, renamed, with a baja step "[33mreturn[37m"
used for returning to the main board.)

[8C[32mJohn does whatever he does in the room[37m, then hits [31m"Q" [37mfrom the
room's main menu (or from any menu where I've placed the "return"), to
return to the main board.

[8CThe [33mmymod.bin [37mquits and control goes back to the main shell
where the next step is another [32mexec_xtrn <code> [37m(another one line batch
file) that [36mcopies a different text file (c:\sbbs\xtrn\pccprt\rmreset.txt) [37mas
"[33mmoduser.dat[37m" to John's current node directory, where [34mSBBS [37mresets his
access back to main-board "normal" and removes his access to the room's
contents.

[8CThat's basically it. Now here are the steps.

[28C[33m---------------

[31m1. [32mGo through and add a particular flag for every board feature[37m. [35mMessage
groups[37m, [35mFile Libraries[37m, [35mchat channels [37m(except channel 1 - since
everybody goes to channel 1 first, it has to be kept open or there won't
be ANY chat available in the rooms), doors, text file areas -
everything. [36mI made Flag Set 3A my "everything else" flag[37m. Items with
this flag will be accessible OUTSIDE the rooms.

[8C[34ma. [35mAdd the ARS access for the room contents[37m. (I set aside all of
[8CFlag Set 4 solely for room access purposes.) Replace your access
[8Cstrings for room features with the appropriate flags. [33mEverything
[8Cin John's PC Support Room had an access flag of 4A[37m. The Mac room
[8Cmight be 4B, get it?

[31m2. [37mGive every user the [34mflag for access to "everything else"[37m, 3A.

[31m3. [37mMake an [32msbbs\xtrn\pcsuprt [37mdirectory to put [33mmenus, batch files [37mand
[33mtext files [37min for each room.

[31m4. [32mWrite the baja module for the room[37m. This could be anything from a
[33mfull BBS shell [37mhandled as a module with a "return" appropriately placed,
to a simple text file display, or game. In [34mbaja [37myou can include the
[36m"welcome to..." [37mand [36m"thanks for visiting..." [37mscreens, and anything else
you want for the room. Also create your menus and place them wherever
your module will expect to find them. I put mine in the room's [35m\xtrn\
[37mdirectory for simplicity.

   If you are going to let users do [32m"O" and/or "/O" [37mlogoffs from inside
the room, then be sure immediately after he presses that key that the
exit.bat executes to reset his access back to main board normal before
the baja [31m"logoff" [37mor [31m"logoff_fast"[37m.
[0m
