.. _plugin-news: The News plugin =============== Read news --------- .. _command-news-old: news old [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns the old news item for ** with **. If no number is given, returns all the old news items in reverse order. ** is only necessary if the message isn't sent in the channel itself. .. _command-news-news: news news [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Display the news items for ** in the format of '(#id) subject'. If ** is given, retrieve only that news item; otherwise retrieve all news items. ** is only necessary if the message isn't sent in the channel itself. Administration -------------- .. _command-news-remove: news remove [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Removes the news item with ** from **. ** is only necessary if the message isn't sent in the channel itself. .. _command-news-add: news add [] : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Adds a given news item of ** to a channel with the given **. If ** isn't 0, that news item will expire ** seconds from now. ** is only necessary if the message isn't sent in the channel itself. .. _command-news-change: news change [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Changes the news item with ** from ** according to the regular expression **. ** should be of the form s/text/replacement/flags. ** is only necessary if the message isn't sent on the channel itself.