I've been trying to create a few arguments for a GUI I've been working on, and trying to use the RC script's complimentary cfg system to do so, and thus have a list with 4 items in it, so my rc.cfg looks as thus:
My problem is that when I actually go to my startup.lua program I don't actually understand how to access these arguments, and looking in the example.lua has yet to avail me of any answers as to how it actually works, could someone please explain it to me in layman's terms
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I've been trying to create a few arguments for a GUI I've been working on, and trying to use the RC script's complimentary cfg system to do so, and thus have a list with 4 items in it, so my rc.cfg looks as thus:
enabled = {"startup"}
startup = {}
startup[col0] = 0xFF9200
startup[col1] = 0xFF6D00
startup[col2] = 0x000000
startup[col3] = 0xFFFFC0
My problem is that when I actually go to my startup.lua program I don't actually understand how to access these arguments, and looking in the example.lua has yet to avail me of any answers as to how it actually works, could someone please explain it to me in layman's terms
Link to post
Share on other sites