(17.02.2022, 13:53)admin Wrote: Have you mapped a script to each number button? Still I would not use this approach because there's no way of knowing how many numbers were pressed and if the supplied PIN is correct or not.
Okay, I got your concept. yes, the PIN was 1234, I created 4 group objects, and made 4 event scripts for them, each has its own script :
pindigit(event, n) -- n=1:4