ArchiveThreads is a script that strives to make it easier for sysops to create boards that don't allow users to post threads, nor reply to any threads within it. To prevent users trying to bypass the nature of the script, it also removes the buttons on posts so that users cannot move the thread somewhere out of the board and continue the conversation.
Suggestions to improve the scripts are fully welcomed on the talk page. Please also let me know of any bugs as well and I will endeavour to fix them as quickly as possible!
Note: In this example, pay close attention to the placement of commas and other punctuation. For people who aren't familiar with programming (and even those who are!), a common mistake when writing code is to accidentally delete, forget, or misplace critical symbols like commas or quotation marks. This can cause a syntax error that breaks the code. Carefully follow the convention shown here when using importArticles.