First we need:
Now we have to create a .ini file.I've created my .ini file and named it to "example" and I chose "home" key(deciminal of "home" key is 36) for my mod.Here's my codes:
You can change "36" to deciminal of the key you want to.
Now create a cleo file(Of coure you can edit your cleo file if you want to ) and add the following opcode before key check:
|0AF0: [email protected] = get_int_from_ini_file "CLEO\example.INI" section "hereissection" key "hereiskey" //IF and SET|
Now change deciminal of your keycheck to "[email protected]" like that:
0AB0: † key_pressed [email protected]
Here is all of them:
0AF0: [email protected] = get_int_from_ini_file "CLEO\example.INI" section "hereissection" key "hereiskey" //IF and SET
0AB0: key_pressed [email protected]
Now save your cleo and open game.If you change deciminal of key in .ini file, cleo reads your changed deciminal and redirects to key check.I mean if I open game and change 36 to 8 in .ini file, my cleo works when I press Backspace.
I hope you can understand my English even I can't understand.