2.0/Modules/ms read

From AnopeWiki
Jump to: navigation, search
Language

English

Service MemoServ
Module ms_read
Author Anope

Description

Sends you the text of the memos specified. If LAST is given, sends you the memo you most recently received. If NEW is given, sends you all of your new memos. Otherwise, sends you memo number num. You can also give a list of numbers.

Commands

read [channel] {num | list | LAST | NEW}

Examples

/msg MemoServ READ #myChannel NEW

/msg MemoServ READ 4-7

/msg Memoserv READ LAST

Default Configuration

/*
 * ms_read
 *
 * Provides the command memoserv/read.
 *
 * Used to read your memos.
 */
module { name = "ms_read" }
command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; }