Its must write "works" when I press Ctrl+J, but nothing.
function toggle(a,b,c,d)
tpt.log(a,b,c,d)
if (c==64) and (a=="j") and (d==1) then
tpt.log("works")
end
end
tpt.register_keypress(toggle)
And when i press ctr+j "tpt.log(a,b,c,d)" printing strange things:
When i press "j" without "ctrl" variable "a" is "j" but when i press "Ctrl+j" its " ".
This script worked 1 month ago.