Randomnews

From Ravenchat Wiki
Jump to: navigation, search

This command manages the list of random news items to show to people upon connecting to the network. When a user connects to the network, one and only one item from the list is shown to a user, picked pseudo randomly. You can add to, delete from, or list the entries, as described below.

Add

This adds a news item to the list. This command accepts 1 argument, the news to be added. To add the news "This is news", you would use this command:

/msg OperServ randomnews add This is news

Del

This removes a news item from the list. This command accepts 1 argument, the entry number for the news to be deleted. To delete news items 2, 3, 4, 8, 10, 11, and 12, you would use this command:

/msg OperServ randomnews del 2-4,8,10-12

All news items can be deleted at the same time with the following command:

/msg OperServ randomnews del all

List

This provides a listing of all the random news items. This is useful to determine which items you wish to delete from the list. This command accepts 0 arguments. To list all news items, simply use the following command:

/msg OperServ randomnews list

See Also