0

I'm trying to run a lua file other than main on replit.com, and I'm not sure how to do that. I know in java you just type "java name_of_file" into the terminal but typing "lua name_of_file) doesn't work.

Here is a screenshot of what I'm trying to do:

Screenshot

Here is my code on replit, so you can try running it: https://replit.com/join/kxisutsa-suzm10

Nifim
  • 4,758
  • 2
  • 12
  • 31
suz_m
  • 35
  • 1
  • 6

1 Answers1

1

You are currently in console, use shell instead and use lua activity.lua to run the activity.lua file.

Anon
  • 116
  • 2
  • 6