Kiểu nếu tui nhấn Shift + A thì nó sẽ bật công tắt và gửi tin nhắn trên màn hình là : 123 và nếu tui Shift + A lại thì nó sẽ tắt công tắt và ghi là :123provide more information
{$CLEO .cs}
wait 10000
10@ = 0
while true
wait 0
if and
0AB0: 16 // shift
0AB0: 65 // a
10@ == 0
then
0AD1: "123" 500
wait 500
10@ = 1
end
if and
0AB0: 16 // shift
0AB0: 65 // a
10@ == 1
then
0AD1: "123" 500
wait 500
10@ = 0
end
end
ok cam on ongalright
Code:{$CLEO .cs} wait 10000 10@ = 0 while true wait 0 if and 0AB0: 16 // shift 0AB0: 65 // a 10@ == 0 then 0AD1: "123" 500 wait 500 10@ = 1 end if and 0AB0: 16 // shift 0AB0: 65 // a 10@ == 1 then 0AD1: "123" 500 wait 500 10@ = 0 end end