
okay, some of you were asking some ways on how to setup RemoteAccess with
multiple hotkeys, for instance a doors menu with Doors having numbers such as
11, 12, 13, 14, etc..

this is how i setup my Doors menu, with multiple hotkeys:

:LOOP
ClearScreen
DisplayFile DOORS
Display "Your Selection: "
Ask 2 1
If 1 = "1"
DisplayFile TradeWar
MenuCmnd 7 *C /c c:\ra\tradewar.bat *N *UTradeWars *M
Goto LOOP
EndIf
If 1 = "2"
MenuCmnd 7 *C /c c:\ra\pit1.bat *N *UThe_Pit *M
Goto Loop
EndIf
If 1 = "3"
MenuCmnd 7 *C /c c:\ra\bre.bat *N *UBRE *M
Goto Loop
EndIf
If 1 = "10"
MenuCmnd 7 *C /c c:\ra\bbslist.bat *N *D *UBBSLIST *M
Goto Loop
EndIf
If 1 = "11"
MenuCmnd 7 *C /c c:\ra\ezhang.bat *N *UHangMan *M
Goto Loop
EndIf
If 1 = "18"
MenuCmnd 7 *C /c c:\ra\usurper.bat *N *UUsurper *M
Goto Loop
EndIf
If 1 = "20"
MenuCmnd 7 *C /c c:\ra\fishing.bat *N *UFishing *M
Goto Loop
EndIf
If 1 = ""
Goto Loop
EndIf
If 1 = "/"
MenuCmnd 4 MainMenu
EndIf
If 1 = "P"
MenuCmnd 7 c:\ra\icechat\icechat.exe *! *UIceChat *M
Goto Loop
EndIf
If 1 = "G"
MenuCmnd 4 Logoff
EndIf
If 1 = "Q"
MenuCmnd 4 MainMenu
EndIf

[end]

step by step now:

:LOOP                      <-- main loop of the questionnaire
ClearScreen                <-- clears the screen
DisplayFile DOORS          <-- displays the ans/asc/rip screen "Doors"
Display "Your Selection: " <-- my menu prompt
Ask 2 1                    <-- asks for a 2 character input/question #1
If 1 = "1"                 <-- hotkey #1
MenuCmnd 7 *C /c c:\ra\tradewar.bat *N *UTradeWars *M  <-- run tradewars
Goto LOOP                  <-- back to the loop and display file/prompt
EndIf                      <-- gotta be here to end the IF
If 1 = "2"                 <-- hotkey #2
MenuCmnd 7 *C /c c:\ra\pit1.bat *N *UThe_Pit *M  <-- run ThePit
Goto Loop                  <-- back to the loop and display file/prompt
EndIf                      <-- end the if statement
If 1 = "10"                <-- HotKey #10
MenuCmnd 7 *C /c c:\ra\bbslist.bat *N *D *UBBSLIST *M <-- runs BBSLIST
Goto Loop                  <-- goes back to the loop
EndIf                      <-- ends the IF statement
If 1 = "20"                <-- HotKey #20
MenuCmnd 7 *C /c c:\ra\fishing.bat *N *UFishing *M    <-- runs Fishing
Goto Loop                  <-- back to the loop
EndIf                      <-- ends the IF
If 1 = ""                  <-- if the user hits "ENTER" as a hotkey
Goto Loop                      it will go back to the loop, then
EndIf                          ends the if
If 1 = "/"                 <-- HotKey / to go back to the main menu
MenuCmnd 4 MainMenu        <-- Clear Gosubs/Goto Menu "MainMenu"
EndIf                      <-- Ends the if statement
If 1 = "P"                 <-- HotKey P
MenuCmnd 7 c:\ra\icechat\icechat.exe *! *UIceChat *M  <-- brings up IceChat
Goto Loop                  <-- yep.. back to the loop <see a pattern?>
EndIf                      <-- ends the if
If 1 = "G"                 <-- HotKey G
MenuCmnd 4 Logoff          <-- goes to my logoff menu using Menu Type 4
EndIf                      <-- ends the if
If 1 = "Q"                 <-- HotKey Q <same command as />
MenuCmnd 4 MainMenu        <-- goes back to the main menu
EndIf                      <-- ends the If Statement

[end]

if the user inputs an invalid hotkey, say 9S or something, my questionnaire 
brought me back to the main menu..

simply to pull up this "menu" from another menu, it's just this command from 
another menu:

Hotkey:      Menu Cmnd:         "Opt.Data":
~~~~~~       ~~~~~~~~~~         ^^^^^^^^^^
  D            Type 12           DOORMENU <do not add a .q-a extension>

hope this helps some of you guys out a little if you've wanted to do this and 
got sick of having ">" for the next page of door games, "<" for the previous 
page..

Important things needed in the Questionnaire:

Gotta have the GOTO LOOP, then ENDIF after that..  this returns everything
to normal, and stops the problems of after the door being run it would return
you to the menu from which it was executed.

Questions?

o Post me a message in the RA_SUPPORT echo
o NetMail me:

    Eric Staufer
The Concession Stand

Fido: 1:374/6568
Baud: 1200-28800bps <v34,vfc,vterbo,h16,v32b,v42b,cm,xa>
City: Vero Beach, FL  USA
Time: Usual!

