ID:2169210
 
Can someone walk me through a combo system. E.g "Pressing the keys r, t, q, p in that quick succession will execute something."
First you'd want to set something up to detect any key presses, this can be done by setting macros for those keys, in BYOND 511+ you can use the Any macro.

Next, you'd store a list of key presses as they're triggered, occasionally trimming the first elements of the list away to break slow combos.

Then you'd want to check the list of stored key presses against your valid combos and execute whatever action you want those combos to entail when matches are found.
There are libraries that can help you achieve what Nadrew is speaking of. I believe Ter13 also may have released a snippet on this as well.

Give these a whirl. I'm not familiar with Kaiochao's library but I know it's definitely more up to date and possibly more efficient as well.
http://www.byond.com/developer/Kaiochao/Keyboard
http://www.byond.com/developer/Forum_account/Keyboard