Simple Array for Activation
Code:
0AF0: 11@ = get_int_from_ini_file "CLEO/settings/mycleo/longtitle/butidontcare/hello/again/we/see/it/okey/lets/go/to/the/folder/where/i/will/store/my/cleo/config/now/config.ini" section "OPTIONS" key "KEY1"
0AF0: 12@ = get_int_from_ini_file "CLEO/settings/mycleo/longtitle/butidontcare/hello/again/we/see/it/okey/lets/go/to/the/folder/where/i/will/store/my/cleo/config/now/config.ini" section "OPTIONS" key "KEY2"
11@ and
12@ represents the caption for the string therefore you should not repeat it.
get_int_from_ini_file fallows the line of the name of the .ini file which you will create, you can name it anything altogether remember to set direction to CLEO\and place where you want to be stored, like; CLEO/settings/mycleo/longtitle/butidontcare/hello/again/we/see/it/okey/lets/go/to/the/folder/where/i/will/store/my/cleo/config/now/config.ini
section represents the caption from which it should read which I will show later, the same with
key1/key2. They are
very similar but
section works like a heading and
key1/key2 works like sub-heading.
This is how the .ini looks like now
now it will store the 11@ and 12@ which we will use in the activation label.
Code:
:KEY
wait 10
if and
key_down 11@
key_down 12@
bla
bla
bla