The proper way to check for user aborting about (e.g. hitting Ctrl-C) is to check the `console.aborted` property.
The only reason this wouldn't work for your script is because you're putting 'C' (CTRL-C) in the ctrl-key passthrough list. Do you have another use for the Ctrl-C key? If not, then I would recommend letting Synchronet handle Ctrl-C input and use `console.aborted` to see if/when a user has aborted.
Who's Online
Recent Visitors
Chris Jacobs
Thu May 2 23:27:50 2024
from
Almere Netherlands
via
Telnet
Drumnfreak
Thu May 2 22:56:37 2024
from
Kansas City
via
Telnet
Halcyon
Fri May 3 04:50:40 2024
from
Montreal, Quebec
via
Telnet