Author Topic: Using C# and .Net To Write FBA Lua Scripts  (Read 3942 times)

Offline anatolewilson

  • New Member
  • *
  • Posts: 1
  • Karma: +0/-0
Using C# and .Net To Write FBA Lua Scripts
« on: July 18, 2024, 11:12:32 PM »
Hey there! I?m a novice programmer that?s rather new to C# / .Net and programming as a whole. Something that?s always been so cool to me is the neat Lua scripts I?ve seen people write for FBA games.

Is it possible to write scripts of that sort with C# / .Net?

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1140
  • Karma: +60/-2
  • Helper
Re: Using C# and .Net To Write FBA Lua Scripts
« Reply #1 on: July 19, 2024, 09:45:46 AM »
Afaik, the lua library expects the scripts to be written in the lua language.

Offline Stifu

  • Member
  • ***
  • Posts: 248
  • Karma: +6/-0
Re: Using C# and .Net To Write FBA Lua Scripts
« Reply #2 on: July 19, 2024, 03:22:33 PM »
I'll just throw this shitty idea out there: you could use ChatGPT to convert C# to Lua. At least until you're eventually ready to write Lua directly. AI is usually good enough to convert code from one language to another. That said, C# and Lua are pretty different, so your mileage may vary.