This gets a key, and returns the ASCII value. Try shift + 1 vs 1 This does not work for capital characters because Scratch has case insensitive string comparing. Also, it may be possible to hack in the carriage return char into the string. (enter).
#advanced