2.0/Modules/ms set

From AnopeWiki
Jump to: navigation, search
Language

English

Service MemoServ
Module ms_set
Author Anope

Description

Sets various memo options.

NOTIFY  
Changes when you will be notified about new memos (only for nicknames)
ON  
You will be notified of memos when you log on, when you unset /AWAY, and when they are sent to you.
LOGON  
You will only be notified of memos when you log on or when you unset /AWAY.
NEW  
You will only be notified of memos when they are sent to you.
MAIL  
You will be notified of memos by email aswell as any other settings you have.
NOMAIL  
You will not be notified of memos by email.
OFF  
You will not receive any notification of memos.::LIMIT Sets the maximum number of memos you can receive
LIMIT
Sets the maximum number of memos a user or channel is allowed to have. Setting the limit to 0 prevents the user from receiving any memos; setting it to NONE allows the user to receive and keep as many memos as they want. If you do not give a nickname or channel, your own limit is set.
Adding HARD prevents the user from changing the limit. Not adding HARD has the opposite effect, allowing the user to change the limit (even if a previous limit was set with HARD).
This use of the SET LIMIT command is limited to Services Operators. Other users may only enter a limit for themselves or a channel on which they have such privileges, may not remove their limit, may not set a limit above 20, and may not set a hard limit.

Commands

set NOTIFY {ON | LOGON | NEW | MAIL | NOMAIL | OFF}
set LIMIT [user | channel] {limit | NONE} [HARD]

Examples

/msg MemoServ SET NOTIFY NEW

/msg MemoServ SET LIMIT 20

Default Configuration

/*
 * ms_set
 *
 * Provides the command memoserv/set.
 *
 * Used to set settings such as how you are notified of new memos, and your memo limit.
 */
module { name = "ms_set" }
command { service = "MemoServ"; name = "SET"; command = "memoserv/set"; }