Hello.
I'm quite new at GSC (C in general) but have a good basic understanding of syntax and how logic statements work.
What I am trying to do at the moment is create a function that monitors N and does a command (the easy part) but then each time the key is pressed I would like it to call a different thread.
I.e;
Wait for N key pressed, if so move to new thread.
new thread
if num times N key pressed is 1 do this
if num times N key pressed is 2 do that
and so on.
At the end there will probably be some way to reset the number or to restart the loop.
I am just having trouble with the logic, the way I have described it above is probably not correct logic haha.
Any thoughts anyone?