Author Topic: Is there a function that returns the language that is selected in attract.cfg?  (Read 80 times)

iOtero

  • Sr. Member
  • ****
  • Posts: 173
    • View Profile
Is there a function in AM that returns the language that is selected in attract.cfg?

Something similar to this:
Code: [Select]
local my_lang = what_lang();

Thanks in advance...  :-[
« Last Edit: August 29, 2018, 05:08:33 AM by iOtero »

keilmillerjr

  • Hero Member
  • *****
  • Posts: 561
    • View Profile
I wrote a script before to read the cfg file and parse it. Was kind of messy. Maybe some one else can tackle it?

iOtero

  • Sr. Member
  • ****
  • Posts: 173
    • View Profile
In batch, I would know how to look inside attract.cfg, but in squirrel I have never tried it. But if you have something to base yourself on, I could try.