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

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • 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 »
Nacer a los 15 años Una novela de iOtero

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • 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: 414
    • 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.
Nacer a los 15 años Una novela de iOtero