Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How to create your own *.9pl file Sticky Locked

A topic by Shawn9 created Nov 20, 2021 Views: 128
This topic is locked
Viewing posts 1 to 1
Developer
  1. Create 2 text files (one named "s" and one named "c")
  2. Run the command
    1. ren  "path\to\file\c.txt" c.bat
  3. Run the command
    1. ren  "path\to\file\s.txt" s.bat
  4. Right-click s
  5. Press edit
  6. type
    1. @echo off
  7. Use this format for each variable:
    1. echo [syntax name] [(int)(str)(BOOLAN)]
      set /p "[syntax name]=>"
      1. Example
        1. echo hello (str)
          set /p "hello=>"
  8. After you put in all the variables you want, type in this:
    1. call c.bat
  9. save
  10. Right-click c
  11. Press edit
  12. type
    1. @echo off
  13. type all the commands you want using the variables you set up in those commands by surrounding the variable in %
    1. Example
      1. %hello%
  14. After you put in all the commands, type
    1. call "..\Shawn9's Programming Language.bat"
  15. Save
  16. Put c and s in a zip folder
  17. Run the command
    1. ren "path\to\file.zip" "file.9pl"
  18. Put your *.9pl file in the ASSETS folder
  19. type in the file's name (without the .9pl part) to run your command.