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: | 504 |
Nodes: | 16 (2 / 14) |
Uptime: | 29:29:19 |
Calls: | 9,910 |
Calls today: | 6 |
Files: | 13,799 |
Messages: | 6,346,105 |