2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
10 * First, create the service.
11 * Note that an easy way to rename this service is to define{} the client name to something else.
17 host = "services.host"
18 gecos = "Memo Service"
23 * Core MemoServ module.
25 * Provides essential functionality for MemoServ.
36 * Core MemoServ commands.
38 * In Anope modules can provide (multiple) commands, each of which has a unique command name. Once these modules
39 * are loaded you can then configure the commands to be added to any client you like with any name you like.
41 * Additionally, you may provide a permission name that must be in the opertype of users executing the command.
43 * Sane defaults are provided below that do not need to be edited unless you wish to change the default behavior.
46 /* Give it a help command. */
47 command { service = "MemoServ"; name = "HELP"; command = "generic/help"; }
52 * Provides the command memoserv/cancel.
54 * Used to cancel memos already sent but not yet read.
56 module { name = "ms_cancel" }
57 command { service = "MemoServ"; name = "CANCEL"; command = "memoserv/cancel"; }
62 * Provides the command memoserv/check.
64 * Used to check if a sent memo has been read.
66 module { name = "ms_check" }
67 command { service = "MemoServ"; name = "CHECK"; command = "memoserv/check"; }
72 * Provides the command memoserv/del.
74 * Used to delete your memos.
76 module { name = "ms_del" }
77 command { service = "MemoServ"; name = "DEL"; command = "memoserv/del"; }
82 * Provides the command memoserv/ignore.
84 * Used to ignore memos from specific users.
86 module { name = "ms_ignore" }
87 command { service = "MemoServ"; name = "IGNORE"; command = "memoserv/ignore"; }
92 * Provides the command memoserv/info.
94 * Used to show memo related information about an account or a channel.
96 module { name = "ms_info" }
97 command { service = "MemoServ"; name = "INFO"; command = "memoserv/info"; }
102 * Provides the command memoserv/list.
104 * Used to list your current memos.
106 module { name = "ms_list" }
107 command { service = "MemoServ"; name = "LIST"; command = "memoserv/list"; }
112 * Provides the command memoserv/read.
114 * Used to read your memos.
116 module { name = "ms_read" }
117 command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; }
122 * Provides the command memoserv/rsend.
124 * Used to send a memo requiring a receipt be sent back once it is read.
126 * Requires configuring memoserv:memoreceipt.
133 * Only allow Services Operators to use ms_rsend.
135 * This directive is optional.
139 #command { service = "MemoServ"; name = "RSEND"; command = "memoserv/rsend"; }
144 * Provides the command memoserv/send.
146 * Used to send memos.
148 module { name = "ms_send" }
149 command { service = "MemoServ"; name = "SEND"; command = "memoserv/send"; }
154 * Provides the command memoserv/sendall.
156 * Used to send a mass memo to every registered user.
158 module { name = "ms_sendall" }
159 command { service = "MemoServ"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; }
164 * Provides the command memoserv/set.
166 * Used to set settings such as how you are notified of new memos, and your memo limit.
168 module { name = "ms_set" }
169 command { service = "MemoServ"; name = "SET"; command = "memoserv/set"; }
174 * Provides the command memoserv/staff.
176 * Used to send a memo to all registered staff members.
178 module { name = "ms_staff" }
179 command { service = "MemoServ"; name = "STAFF"; command = "memoserv/staff"; permission = "memoserv/staff"; }