Results 1 to 2 of 2

Thread: Question for Squid

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    dvk901's Avatar Consummatum est
    Patrician

    Join Date
    Mar 2006
    Location
    Michigan
    Posts
    20,984

    Default Question for Squid

    Hey guy, I'm trying to write a batch file that will launch the various modfoldered versions of RS2, but for some reason I can't get it to work right. Can you figure out what is wrong with this:

    @ECHO off
    cls
    :start
    ECHO.
    ECHO 1. Play Rome
    ECHO 2. Play Carthage
    ECHO 3. Play Seleucid
    set choice=
    set /p choice=Type the number to play.
    if not '%choice%'=='' set choice=%choice:~0,1%
    if '%choice%'=='1' goto play_rome
    if '%choice%'=='2' goto play_carthage
    if '%choice%'=='3' goto play_seleucid
    ECHO "%choice%" is not valid please try again
    ECHO.
    goto start
    :play_rome
    START /MAX rometw.exe -nm -show_err -mod:play_rome
    goto end
    :play_carthage
    START /MAX rometw.exe -nm -show_err -mod:play_carthage
    goto end
    :play_seleucid
    START /MAX rometw.exe -nm -show_err -mod:play_seleucid
    goto end
    :end

    Creator of: "Ecce, Roma Surrectum....Behold, Rome Arises!"
    R.I.P. My Beloved Father

  2. #2
    dvk901's Avatar Consummatum est
    Patrician

    Join Date
    Mar 2006
    Location
    Michigan
    Posts
    20,984

    Default Re: Question for Squid

    Never mind, I figured it out.

    Creator of: "Ecce, Roma Surrectum....Behold, Rome Arises!"
    R.I.P. My Beloved Father

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •