char = bbs.onekey("AVQ",True)
And then there are if statements to make the A, V and Q keys do stuff. I know that enter is considered chr(13) in mystic python, but I don't know if the onekey function can accept special keys (enter, escape etc). I
also tried the getkey function but that doesn't seem to work for me either.
Figured it out. Was just the syntax/formatting that was throwing me off
:)
char = bbs.onekey(chr(13) + 'AQV', True)
char = bbs.onekey("AVQ",True)
ch = onekey(chr(13) + 'AVQ', True);
Thats all you have to do for ENTER. 27 for ESCAPE etc. It all works.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 718 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 143:08:45 |
| Calls: | 12,138 |
| Calls today: | 6 |
| Files: | 15,021 |
| Messages: | 6,520,059 |