.. _plugin-news: The News plugin =============== .. command-old: 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-die: die ^^^^ .. command-remove: remove [] ^^^^^^^^^^^^^^^^^^^^^^^ Removes the news item with ** from **. ** is only necessary if the message isn't sent in the channel itself. .. command-add: 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: 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. .. command-change: 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.