Keys like [ENTER],[SHIFT]...

hello,
I want to know how to make: If the Key Enter is pressed, then [...]. in script.
if i want to press [a] the code would be like :
so what about ENTER,SHIFT,STRG...?
I want to know how to make: If the Key Enter is pressed, then [...]. in script.
if i want to press [a] the code would be like :
- Code: Select all
if(key[KEY_a])
so what about ENTER,SHIFT,STRG...?