ok I got idea that didn't was so hard but, I want to make a "log" with these keys so I can check for them later if smt like that is possible ... I tried smt but this doesn't look like i hoped
Code:
{$CLEO}
0000:
repeat
wait 20
until 0afa:
while true
wait 0
IF 8AE4: not "cleo\Projects"
THEN 0AE5: create "cleo\Projects"
END
VAR
1@ : int
2@ : int
3@ : int
END
1@ = 0
2@ = 0
3@ = 0
for 0@ = 1 to 255
if 0ab0: 0@
then
wait 20
if 1@ == 0
then 1@ = 0@
wait 20
else
if 2@ == 0
then 2@ = 0@
wait 10
else
if 3@ == 0
then 3@ = 0@
wait 10
end
end
end
end
end
0ac8: 4@ = 260
if 1@ <> 0
then
format 4@ "keys pressed: %d" 1@
0AF1: write_int 1@ to "cleo\Projects\Test.ini" section "Keys" key "First Key"
if 2@ <> 0
then format 4@ "keys pressed: %d + %d" 1@ 2@
0AF1: write_int 1@ to "cleo\Projects\Test.ini" section "Keys" key "Key Two"
0AF1: write_int 2@ to "cleo\Projects\Test.ini" section "Keys" key "Key Two'"
end
if 3@ <> 0
then format 4@ "keys pressed: %d + %d + %d" 1@ 2@ 3@
0AF1: write_int 1@ to "cleo\Projects\Test.ini" section "Keys" key "Key Three"
0AF1: write_int 2@ to "cleo\Projects\Test.ini" section "Keys" key "Key Three'"
0AF1: write_int 3@ to "cleo\Projects\Test.ini" section "Keys" key "Key Three''"
end
0AF8: "combination : %s" -1 4@
else
$FCKSPAM = 0
end
0ac9: 4@
end
app I thought if i will use wait script wont send me three mesages just for 1 key pressed ( an example, I press 1 sec "q" and script will send me x3 mesages with that"
I dont want use chatlog.txt bcs I dont want get messages in game about these keyboards, just in an .ini file
App, cum ai facut code-ul ala mare? Cel de pe forum ma refer.